mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-24 22:24:44 +02:00
GHA: AUTHORS: use sed(1), not grep(1)
grep(1)'s exit code causes the GHA to fail in contrast to sed(1).
This commit is contained in:
parent
d1f0ffe778
commit
018a0c936d
2
.github/workflows/authors-file.yml
vendored
2
.github/workflows/authors-file.yml
vendored
@ -21,7 +21,7 @@ jobs:
|
||||
git add AUTHORS
|
||||
git log --format='format:%aN <%aE>' "$(
|
||||
git merge-base HEAD^1 HEAD^2
|
||||
)..HEAD^2" | grep -vEe '^dependabot\[bot] ' >> AUTHORS
|
||||
)..HEAD^2" | sed '/^dependabot\[bot] /d' >> AUTHORS
|
||||
sort -uo AUTHORS AUTHORS
|
||||
git diff AUTHORS >> AUTHORS.diff
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user