Skip to content

armgit / core

Public Imported from GitHub
0

100% open-source IoT Platform - Integrate your devices, add intelligence, build custom apps

Configure concurrency to cancel "In progress" actions (#1966)

Wouter Born97fbb88e3efe
diff --git a/.github/workflows/ci_cd.yml b/.github/workflows/ci_cd.yml
index f44152ca1..f0e8c2bc1 100644
--- a/.github/workflows/ci_cd.yml
+++ b/.github/workflows/ci_cd.yml
@@ -90,6 +90,10 @@ on:
SECRETS:
required: false
+concurrency:
+ group: ${{ github.workflow }}-${{ github.ref }}
+ cancel-in-progress: true
+
jobs:
build:
@@ -97,12 +101,6 @@ jobs:
runs-on: ubuntu-latest
steps:
-
- - name: Cancel previous runs
- uses: styfle/cancel-workflow-action@85880fa0301c86cca9da44039ee3bb12d3bedbfa # 0.12.1
- with:
- access_token: ${{ github.token }}
-
- name: Get inputs and secrets
id: inputs-and-secrets
shell: python