Skip to content

Commit

Permalink
Sync branch [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
pirate-bot authored Nov 5, 2024
2 parents bd9ed65 + 747bad5 commit 6cd51e9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/mirror.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@ jobs:
# Reset to a single commit with no history
git checkout master
git reset --soft $(git rev-list --max-parents=0 HEAD) # Go to the first commit, keeping changes
git commit --amend --author="pirate-bot <${{ secrets.BOT_EMAIL }}}" -m "sync [skip ci]" # Create a single commit with explicit author
git commit --amend --author="pirate-bot <${{ secrets.BOT_EMAIL }}>" -m "new changes [skip ci]" # Create a single commit with explicit author
# Push to the mirror repo, overwriting history
git push mirror master --force # Push only the master branch with new history
Expand Down

0 comments on commit 6cd51e9

Please sign in to comment.