From: Philippe Antoine Date: Tue, 13 Feb 2024 20:11:32 +0000 (+0100) Subject: ci: right sha for authors check X-Git-Tag: suricata-8.0.0-beta1~1750 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=41a621178fd2d177866cf9cadcd5d38fc6eb2afd;p=thirdparty%2Fsuricata.git ci: right sha for authors check --- 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