From 41a621178fd2d177866cf9cadcd5d38fc6eb2afd Mon Sep 17 00:00:00 2001 From: Philippe Antoine Date: Tue, 13 Feb 2024 21:11:32 +0100 Subject: [PATCH] ci: right sha for authors check --- .github/workflows/authors.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/authors.yml b/.github/workflows/authors.yml index 242cadd181..633d4b73ec 100644 --- a/.github/workflows/authors.yml +++ b/.github/workflows/authors.yml @@ -23,7 +23,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