Skip to content

Commit

Permalink
chore(worker): update CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Gowee committed Nov 30, 2024
1 parent 59733da commit b3ba685
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/worker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@ jobs:
timeout-minutes: 60
steps:
- run: echo '${{ toJSON(github.event) }}' | jq .
- run: gh workflow list
- name: Disable other workflows in Workers fork
if: github.event_name == 'repository_dispatch' && github.event.repository.fork == true
run: gh workflow list --json 'name,id' --jq '.[] | select(.name != "Deploy Worker") | .id' | xargs -I! gh workflow disable !
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/checkout@v2
Expand Down

0 comments on commit b3ba685

Please sign in to comment.