(crystal-manyrepos/root#) #972
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Sync | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
sync: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
token: ${{ secrets.SYNC_TOKEN }} | |
- name: Update Merge Commit Message | |
shell: bash | |
run: | | |
git config --global user.name "George Dietrich" | |
git config --global user.email "dev@dietrich.pub" | |
git commit --allow-empty --amend -m "${{ github.event.pull_request.title }} (crystal-manyrepos/root#${{ github.event.pull_request.number }})" | |
git push --force-with-lease | |
- name: Sync Repos | |
run: ./scripts/sync.sh | |
env: | |
BEFORE_SHA: ${{ github.event.before }} | |
AFTER_SHA: ${{ github.event.after }} |