We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5be9bd4 commit d92a856Copy full SHA for d92a856
1 file changed
.github/workflows/lint-test.yml
@@ -27,10 +27,11 @@ jobs:
27
if git diff --quiet -- README.md; then
28
echo "updated=false" >> "$GITHUB_OUTPUT"
29
else
30
- git config user.name "github-actions[bot]"
31
- git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
+ git config user.name "$(git log -1 --format='%an')"
+ git config user.email "$(git log -1 --format='%ae')"
32
git add README.md
33
- git commit -m "Auto-update README.md"
+ git commit -s -m "Auto-update README.md" \
34
+ -m "Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>"
35
git push
36
echo "updated=true" >> "$GITHUB_OUTPUT"
37
fi
0 commit comments