Skip to content

Commit cc7cf18

Browse files
Refactor Github Action per b/485167538 (#644)
Co-authored-by: Ben Knutson <benknutson@google.com>
1 parent 16a0a1e commit cc7cf18

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/changelog.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
# automatically (see https://github.com/webcomponents/polyfills). To
2525
# diff with the base branch, we need to fetch that too (and we only
2626
# need its latest commit).
27-
git fetch origin ${{ github.base_ref }} --depth=1
27+
git fetch origin ${GITHUB_BASE_REF} --depth=1
2828
if [[ $(git diff --name-only FETCH_HEAD | grep CHANGELOG) ]]
2929
then
3030
echo "A CHANGELOG was modified. Looks good!"

0 commit comments

Comments
 (0)