Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(workflow_id):example workflow added to test all keyword
- Loading branch information
1 parent
f24d4e6
commit b1d5a4c
Showing
1 changed file
with
20 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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.'; |