Two way sync attempt

This commit is contained in:
Colin McDonnell
2026-01-13 07:13:47 +00:00
committed by pullfrog[bot]
parent 03999f40ac
commit 20b4f683e5
3 changed files with 70 additions and 4 deletions
+24
View File
@@ -0,0 +1,24 @@
name: Trigger sync
on:
push:
branches: [main]
jobs:
trigger:
# skip if pushed by our bot (breaks the loop)
if: github.actor != 'pullfrog[bot]'
runs-on: ubuntu-latest
steps:
- uses: peter-evans/repository-dispatch@v3
with:
token: ${{ secrets.MONOREPO_PAT }}
repository: pullfrog/pullfrog
event-type: action-repo-updated
client-payload: |
{
"before": "${{ github.event.before }}",
"after": "${{ github.event.after }}",
"compare_url": "${{ github.event.compare }}",
"pusher": "${{ github.actor }}"
}