diff --git a/action.yml b/action.yml index 9a8bd9f..dc7b282 100644 --- a/action.yml +++ b/action.yml @@ -7,7 +7,7 @@ runs: using: "composite" steps: - name: Check out repository code - uses: actions/checkout@v3 + uses: actions/checkout@v2 with: fetch-depth: 0 - name: Check for changes in changelog diff --git a/check.sh b/check.sh index 51d77f9..c55cbc8 100755 --- a/check.sh +++ b/check.sh @@ -7,7 +7,7 @@ if [ "${NO_CHANGELOG_LABEL}" = "true" ]; then else # a changelog check is required # fail if the diff is empty - if git diff --exit-code "origin/${BASE_REF}" -- CHANGES.md; then + if git diff --exit-code "origin/${BASE_REF}" -- CHANGE-LOG-2023.md; then >&2 echo "User-visible changes should come with an entry in the changelog. This behavior can be overridden by using the \"no changelog\" label, which is used for changes that are not user-visible."