diff --git a/.github/workflows/authors.yml b/.github/workflows/authors.yml index 77bb2614de24..762eae0e8c9d 100644 --- a/.github/workflows/authors.yml +++ b/.github/workflows/authors.yml @@ -21,7 +21,7 @@ jobs: - name: Export known authors from master branch run: git log --format="%an <%ae>" origin/master | sort | uniq > authors.txt - name: Export authors from new commits - run: git log --format="%an <%ae>" origin/${GITHUB_BASE_REF}... | sort | uniq > commit-authors.txt + run: git log --format="%an <%ae>" ${{ github.event.pull_request.base.sha }}... | sort | uniq > commit-authors.txt - name: Check new authors run: | touch new-authors.txt