Files
shockbot/.github/workflows/trigger-sync.yml
T
Colin McDonnell 79344c653d Fix CI
2026-01-12 23:19:35 -08:00

37 lines
881 B
YAML

name: Trigger sync
on:
push:
branches: [main]
permissions:
id-token: write
contents: read
jobs:
trigger:
# skip if pushed by our bot (breaks the loop)
if: github.actor != 'pullfrog[bot]'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Get installation token
id: token
uses: ./get-installation-token
with:
repos: pullfrog
- uses: peter-evans/repository-dispatch@v3
with:
token: ${{ steps.token.outputs.token }}
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 }}"
}