Skip to content

Commit

Permalink
Merge pull request #9976 from Al2Klimov/Al2Klimov-patch-42
Browse files Browse the repository at this point in the history
GHA AUTHORS check: handle PRs from forks
  • Loading branch information
julianbrost authored Jan 22, 2024
2 parents d6a9628 + 82e9c71 commit 01a6c4c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/authors-file.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ jobs:
sort -uo AUTHORS AUTHORS
git add AUTHORS
git log --format='format:%aN <%aE>' "$(
git merge-base "origin/$GITHUB_BASE_REF" "origin/$GITHUB_HEAD_REF"
)..origin/$GITHUB_HEAD_REF" >> AUTHORS
git merge-base HEAD^1 HEAD^2
)..HEAD^2" >> AUTHORS
sort -uo AUTHORS AUTHORS
git diff AUTHORS >> AUTHORS.diff
Expand Down

0 comments on commit 01a6c4c

Please sign in to comment.