diff --git a/.github/workflows/chore.yml b/.github/workflows/chore.yml index c4626125..591338e9 100644 --- a/.github/workflows/chore.yml +++ b/.github/workflows/chore.yml @@ -25,8 +25,8 @@ jobs: fetch-depth: 0 - name: Check that the CHANGELOG has been modified in the current branch run: | - git diff --name-only main..${GITHUB_HEAD_REF} - git diff --name-only main..${GITHUB_HEAD_REF} | grep CHANGELOG + git diff --name-only origin/main..origin/${GITHUB_HEAD_REF} + git diff --name-only origin/main..origin/${GITHUB_HEAD_REF} | grep CHANGELOG lint-changelog: runs-on: ubuntu-latest