From ec2f0f5b887af10027d29afffe1fdaaa07b37e84 Mon Sep 17 00:00:00 2001 From: Luis Majano Date: Mon, 8 Apr 2024 09:07:34 +0200 Subject: [PATCH] concurrency support --- .github/workflows/snapshot.yml | 5 +++++ .github/workflows/tests.yml | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/snapshot.yml b/.github/workflows/snapshot.yml index 947b2b144..8cc4d5a33 100644 --- a/.github/workflows/snapshot.yml +++ b/.github/workflows/snapshot.yml @@ -7,6 +7,11 @@ on: branches: - development +#Cancel running builds if another push to branch is made while this build is running +concurrency: + group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} + cancel-in-progress: true + jobs: ############################################# # Tests First baby! We fail, no build :( diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 8b0079b25..e41b50d93 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -6,7 +6,7 @@ on: workflow_call: secrets: SLACK_WEBHOOK_URL: - required: true + required: false jobs: tests: