File tree Expand file tree Collapse file tree 1 file changed +33
-0
lines changed
Expand file tree Collapse file tree 1 file changed +33
-0
lines changed Original file line number Diff line number Diff line change 1+ # SPDX-License-Identifier: AGPL-3.0-or-later
2+ # Instant Forge Sync - Triggers propagation to all forges on push/release
3+ name : Instant Sync
4+
5+ on :
6+ push :
7+ branches : [main, master]
8+ release :
9+ types : [published]
10+
11+ permissions :
12+ contents : read
13+
14+ jobs :
15+ dispatch :
16+ runs-on : ubuntu-latest
17+ steps :
18+ - name : Trigger Propagation
19+ uses : peter-evans/repository-dispatch@ff45666b9427631e3450c54a1bcbee4d9ff4d7c0 # v3
20+ with :
21+ token : ${{ secrets.FARM_DISPATCH_TOKEN }}
22+ repository : hyperpolymath/.git-private-farm
23+ event-type : propagate
24+ client-payload : |-
25+ {
26+ "repo": "${{ github.event.repository.name }}",
27+ "ref": "${{ github.ref }}",
28+ "sha": "${{ github.sha }}",
29+ "forges": ""
30+ }
31+
32+ - name : Confirm
33+ run : echo "::notice::Propagation triggered for ${{ github.event.repository.name }}"
You can’t perform that action at this time.
0 commit comments