Skip to content

Commit 5f95336

Browse files
authored
Merge pull request #5 from ReactSphere/copilot/fix-error-pushing-changes
Fix detached HEAD push failure in update-readme workflow
2 parents 00f719f + 48cbdb4 commit 5f95336

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/update-readme.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,4 +34,4 @@ jobs:
3434
git config --global user.email "github-actions[bot]@users.noreply.github.com"
3535
git add profile/README.md
3636
git commit -m "Update leaderboard" || echo "No changes"
37-
git push
37+
git push origin HEAD:main

0 commit comments

Comments
 (0)