github-ops #52777
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: github-ops | |
on: | |
workflow_dispatch: | |
workflow_run: | |
workflows: ["*"] | |
types: | |
- requested | |
- completed | |
concurrency: | |
group: ${{ github.workflow }} | |
cancel-in-progress: true | |
jobs: | |
ping: | |
if: false | |
runs-on: ubuntu-latest | |
timeout-minutes: 1 | |
steps: | |
- name: Ping runner workflow | |
env: | |
# only needs github actions (write) `workflow_dispatch` | |
GH_OPS_PAT: ${{ secrets.PAT_OPS_TRIGGER }} | |
# change `zkevm-chain.yml` to the desired workflow | |
run: | | |
curl -H "authorization: token $GH_OPS_PAT" 'https://api.github.com/repos/privacy-scaling-explorations/github-ops/actions/workflows/zkevm-circuits.yml/dispatches' -d '{"ref": "master"}' | |