Skip to content

Commit

Permalink
Update mirror.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
selul authored Nov 5, 2024
1 parent 925dae2 commit 747bad5
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 747bad5

Please sign in to comment.