Skip to content

Commit 044d857

Browse files
committed
tweak hearbeat workflow
1 parent 8f188ea commit 044d857

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/update-heartbeat.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,5 @@ jobs:
1717
git config user.name "github-actions[bot]"
1818
git config user.email "github-actions[bot]@users.noreply.github.com"
1919
git add heartbeat.json
20-
git commit -m "update heartbeat" || echo "No changes to commit"
21-
git push
20+
git commit --amend -m "update heartbeat" || echo "No changes to commit"
21+
git push --force-with-lease

0 commit comments

Comments
 (0)