This repository has been archived by the owner on May 3, 2024. It is now read-only.
github-ops #4728
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: | |
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"}' | |