diff --git a/.github/workflows/downstream-build.yaml b/.github/workflows/downstream-build.yaml index df5bac57..f46a6646 100644 --- a/.github/workflows/downstream-build.yaml +++ b/.github/workflows/downstream-build.yaml @@ -1,9 +1,16 @@ +# Do not edit this file, it will be overwritten! +# The template file can be found in +# https://github.com/key4hep/key4hep-actions/blob/main/workflows/downstream-build.yaml name: downstream-build on: pull_request: workflow_dispatch: +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + jobs: downstream-build: runs-on: ubuntu-latest diff --git a/.github/workflows/key4hep-build.yaml b/.github/workflows/key4hep-build.yaml index f0bcb2c1..6a0ea283 100644 --- a/.github/workflows/key4hep-build.yaml +++ b/.github/workflows/key4hep-build.yaml @@ -12,6 +12,9 @@ on: schedule: - cron: '16 5 * * *' +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true jobs: build: