mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-25 14:44:32 +02:00
Merge pull request #9976 from Al2Klimov/Al2Klimov-patch-42
GHA AUTHORS check: handle PRs from forks
This commit is contained in:
commit
01a6c4c1ce
4
.github/workflows/authors-file.yml
vendored
4
.github/workflows/authors-file.yml
vendored
@ -20,8 +20,8 @@ jobs:
|
|||||||
sort -uo AUTHORS AUTHORS
|
sort -uo AUTHORS AUTHORS
|
||||||
git add AUTHORS
|
git add AUTHORS
|
||||||
git log --format='format:%aN <%aE>' "$(
|
git log --format='format:%aN <%aE>' "$(
|
||||||
git merge-base "origin/$GITHUB_BASE_REF" "origin/$GITHUB_HEAD_REF"
|
git merge-base HEAD^1 HEAD^2
|
||||||
)..origin/$GITHUB_HEAD_REF" >> AUTHORS
|
)..HEAD^2" >> AUTHORS
|
||||||
sort -uo AUTHORS AUTHORS
|
sort -uo AUTHORS AUTHORS
|
||||||
git diff AUTHORS >> AUTHORS.diff
|
git diff AUTHORS >> AUTHORS.diff
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user