Skip to content

Chain test truth pass: Ephapax parser gaps are closed, fix dead paths… #123

Chain test truth pass: Ephapax parser gaps are closed, fix dead paths…

Chain test truth pass: Ephapax parser gaps are closed, fix dead paths… #123

Workflow file for this run

# SPDX-License-Identifier: MPL-2.0
# Instant Forge Sync - Triggers propagation to all forges on push/release
name: Instant Sync
on:
push:
branches: [main, master]
release:
types: [published]
permissions:
contents: read
jobs:
dispatch:
runs-on: ubuntu-latest
timeout-minutes: 10
# Presence gate: the `secrets` context is not available in `if:`, so map
# the token to a job-level env var and skip the dispatch when it is unset
# (e.g. on forks) rather than invoking the secret-consuming action with an
# empty token. (Hypatia workflow_audit: secret_action_without_presence_gate)
env:
FARM_DISPATCH_TOKEN: ${{ secrets.FARM_DISPATCH_TOKEN }}
steps:
- name: Trigger Propagation
if: ${{ env.FARM_DISPATCH_TOKEN != '' }}
uses: peter-evans/repository-dispatch@28959ce8df70de7be546dd1250a005dd32156697 # v3
with:
token: ${{ env.FARM_DISPATCH_TOKEN }}
repository: hyperpolymath/.git-private-farm
event-type: propagate
client-payload: |-
{
"repo": "${{ github.event.repository.name }}",
"ref": "${{ github.ref }}",
"sha": "${{ github.sha }}",
"forges": ""
}
- name: Confirm
if: ${{ env.FARM_DISPATCH_TOKEN != '' }}
run: echo "::notice::Propagation triggered for ${{ github.event.repository.name }}"