]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
ci: right sha for authors check 10419/head
authorPhilippe Antoine <pantoine@oisf.net>
Tue, 13 Feb 2024 20:11:32 +0000 (21:11 +0100)
committerVictor Julien <victor@inliniac.net>
Wed, 14 Feb 2024 16:19:37 +0000 (17:19 +0100)
.github/workflows/authors.yml

index 242cadd181a4ca4f892d4e38f3dbea21e5145c53..633d4b73ec04eaf5f607e26d2c0889fab5ab0dcf 100644 (file)
@@ -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