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 2dccd7f + 925dae2 commit bd9ed65
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/mirror.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,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 -m "new changes [skip ci]" # Create a single commit
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
# 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 bd9ed65

Please sign in to comment.