From 1d3e6ac7b0c5015794e4d36e30c360665a1021e3 Mon Sep 17 00:00:00 2001 From: Alexander Grund Date: Mon, 28 Nov 2022 14:23:57 +0100 Subject: [PATCH] Cancel old GithubAction runs --- .github/workflows/linting.yml | 5 +++++ .github/workflows/unit_tests.yml | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/.github/workflows/linting.yml b/.github/workflows/linting.yml index 6346d959773..d7482ec3f7d 100644 --- a/.github/workflows/linting.yml +++ b/.github/workflows/linting.yml @@ -1,5 +1,10 @@ name: Static Analysis on: [push, pull_request] + +concurrency: + group: ${{format('{0}:{1}:{2}', github.repository, github.ref, github.workflow)}} + cancel-in-progress: true + jobs: python-linting: runs-on: ubuntu-20.04 diff --git a/.github/workflows/unit_tests.yml b/.github/workflows/unit_tests.yml index 1a8e16547f5..620535115d9 100644 --- a/.github/workflows/unit_tests.yml +++ b/.github/workflows/unit_tests.yml @@ -1,5 +1,10 @@ name: easyconfigs unit tests on: [push, pull_request] + +concurrency: + group: ${{format('{0}:{1}:{2}', github.repository, github.ref, github.workflow)}} + cancel-in-progress: true + jobs: test-suite: runs-on: ubuntu-20.04