Skip to content

Commit 1574cc8

Browse files
authored
Merge pull request #33 from Albejr/develop
Rename cancel job steps for clarity and ensure proper structure in co…
2 parents 26387e2 + 54e3476 commit 1574cc8

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

.github/workflows/13-0-concurrency.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
cancel_in_progress_job:
1414
runs-on: ubuntu-latest
1515
steps:
16-
- name: Cancel In Progress Jobs
16+
- name: Cancel In Progress Step 1
1717
run: echo "This job will cancel in-progress jobs for the same workflow and branch."
1818

1919

.github/workflows/13-1-jobs-concurrency.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,11 @@ on:
88
jobs:
99
cancel_in_progress_job:
1010
runs-on: ubuntu-latest
11+
1112
concurrency:
1213
group: example-group
13-
cancel-in-progress: true
14+
cancel-in-progress: true
15+
16+
steps:
17+
- name: Cancel In Progress Step 1
18+
run: echo "This job will cancel in-progress for the same job."

0 commit comments

Comments
 (0)