Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/13-0-concurrency.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
cancel_in_progress_job:
runs-on: ubuntu-latest
steps:
- name: Cancel In Progress Jobs
- name: Cancel In Progress Step 1
run: echo "This job will cancel in-progress jobs for the same workflow and branch."


Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/13-1-jobs-concurrency.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@ on:
jobs:
cancel_in_progress_job:
runs-on: ubuntu-latest

concurrency:
group: example-group
cancel-in-progress: true
cancel-in-progress: true

steps:
- name: Cancel In Progress Step 1
run: echo "This job will cancel in-progress for the same job."