Skip to content

(crystal-manyrepos/root#) #1074

(crystal-manyrepos/root#)

(crystal-manyrepos/root#) #1074

Workflow file for this run

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 }}