-
-
Notifications
You must be signed in to change notification settings - Fork 116
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(all):support for considering all workflows with one term (#165)
* feat(all):support for considering all workflows with one term * feat(workflow_id):example workflow added to test all keyword * feat(workflow_id):Added documentation in README.md * fix(example): Fixed the token being passed to example workflow * fix: improvements in comment Co-authored-by: Steven <[email protected]> * docs: Fixed grammar in `README.md` Co-authored-by: Steven <[email protected]> Co-authored-by: Steven <[email protected]>
- Loading branch information
1 parent
9cd53ca
commit d2d941c
Showing
4 changed files
with
1,246 additions
and
364 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.token }} | ||
workflow_id: all | ||
- uses: actions/[email protected] | ||
- run: echo 'Sleeping...'; sleep 120; echo 'Done.'; |
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
Oops, something went wrong.