Skip to content

Commit 2d5287b

Browse files
Al2Klimovyhabteab
authored andcommitted
GHA: AUTHORS: use sed(1), not grep(1)
grep(1)'s exit code causes the GHA to fail in contrast to sed(1).
1 parent 2ba861a commit 2d5287b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/authors-file.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
git add AUTHORS
2222
git log --format='format:%aN <%aE>' "$(
2323
git merge-base HEAD^1 HEAD^2
24-
)..HEAD^2" | grep -vEe '^dependabot\[bot] ' >> AUTHORS
24+
)..HEAD^2" | sed '/^dependabot\[bot] /d' >> AUTHORS
2525
sort -uo AUTHORS AUTHORS
2626
git diff AUTHORS >> AUTHORS.diff
2727

0 commit comments

Comments
 (0)