mirror of
https://github.com/tiennm99/awesome-advent-of-code.git
synced 2026-10-14 20:16:57 +00:00
ci: handle cases when there's nothing to commit
This commit is contained in:
1 file changed
+3
-3
@@ -31,6 +31,6 @@ jobs:
|
||||
run: |
|
||||
git config user.email 'actions@github.com'
|
||||
git config user.name 'github-actions'
|
||||
git add README.md
|
||||
git commit -m 'update badges'
|
||||
git push origin HEAD:${{ github.ref }}
|
||||
if git commit -am 'update badges'; then
|
||||
git push origin HEAD:${{ github.ref }}
|
||||
fi
|
||||
Reference in new issue
Block a user