Skip to content

Commit 9ab33e2

Browse files
authored
Configure concurrency to cancel "In progress" actions (#15)
The styfle/cancel-workflow-action is no longer necessary to accomplish this nowadays. See: https://github.com/styfle/cancel-workflow-action
1 parent bf092c6 commit 9ab33e2

1 file changed

Lines changed: 4 additions & 6 deletions

File tree

.github/workflows/ci_cd.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,19 +8,17 @@ on:
88
tags-ignore:
99
- '*.*'
1010

11+
concurrency:
12+
group: ${{ github.workflow }}-${{ github.ref }}
13+
cancel-in-progress: true
14+
1115
jobs:
1216

1317
build:
1418
name: CI/CD
1519
runs-on: macos-15
1620

1721
steps:
18-
19-
- name: Cancel previous runs
20-
uses: styfle/cancel-workflow-action@85880fa0301c86cca9da44039ee3bb12d3bedbfa # 0.12.1
21-
with:
22-
access_token: ${{ github.token }}
23-
2422
- name: Checkout
2523
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
2624

0 commit comments

Comments
 (0)