[38ba34]: / .github / workflows / dispatch-ammr-update-triggers.yml

Download this file

20 lines (16 with data), 511 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
name: Dispatch AMMR update triggers
on:
push:
branches: [master]
jobs:
update:
if: github.repository == 'anybody/ammr'
runs-on: ubuntu-latest
steps:
- name: Trigger private fork updates
uses: peter-evans/repository-dispatch@v3
with:
token: ${{ secrets.WORKFLOW_BOT_TOKEN }}
repository: AnyBody/workflow-bot
event-type: ammr-updated
client-payload: '{"ref": "${{ github.ref }}", "sha": "${{ github.sha }}"}'