Skip to content

Commit 97fbb88

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

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
@@ -90,19 +90,17 @@ on:
9090
SECRETS:
9191
required: false
9292

93+
concurrency:
94+
group: ${{ github.workflow }}-${{ github.ref }}
95+
cancel-in-progress: true
96+
9397
jobs:
9498

9599
build:
96100
name: CI/CD
97101
runs-on: ubuntu-latest
98102

99103
steps:
100-
101-
- name: Cancel previous runs
102-
uses: styfle/cancel-workflow-action@85880fa0301c86cca9da44039ee3bb12d3bedbfa # 0.12.1
103-
with:
104-
access_token: ${{ github.token }}
105-
106104
- name: Get inputs and secrets
107105
id: inputs-and-secrets
108106
shell: python

0 commit comments

Comments
 (0)