Skip to content

Commit

Permalink
feat(workflow_id):example workflow added to test all keyword
Browse files Browse the repository at this point in the history
  • Loading branch information
anshulsahni committed Jun 13, 2022
1 parent f24d4e6 commit b1d5a4c
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/cancel-all.yml
@@ -0,0 +1,20 @@
name: Cancel All Workflows
on: push

# Push again in the same branch
# automatically all the worklows will be cancelled
# To prevent this cancellation, comment this workflow
jobs:
task:
runs-on: ubuntu-latest
name: Task
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Test Step
uses: ./ # Uses an action in the root directory
with:
access_token: ${{github.sha}}
workflow_id: all
- uses: actions/setup-node@v3.3.0
- run: echo 'Sleeping...'; sleep 120; echo 'Done.';

0 comments on commit b1d5a4c

Please sign in to comment.