From: Grant Slater Date: Thu, 21 Apr 2022 10:46:40 +0000 (+0100) Subject: GH action cancel replaced in-progress runs X-Git-Url: https://git.openstreetmap.org/chef.git/commitdiff_plain/e21ce28e6c422b39902b1886743a6155d4d4f3d9?hp=09697a0d15389e10f6550e25511e921b5aa23e7b GH action cancel replaced in-progress runs --- diff --git a/.github/workflows/cookstyle.yml b/.github/workflows/cookstyle.yml index a9b8b962c..62d14b8af 100644 --- a/.github/workflows/cookstyle.yml +++ b/.github/workflows/cookstyle.yml @@ -1,7 +1,13 @@ name: Cookstyle + on: - push - pull_request + +concurrency: + group: ${{ github.workflow }}-{{ github.head_ref || github.ref }} + cancel-in-progress: true + jobs: cookstyle: name: Cookstyle diff --git a/.github/workflows/test-kitchen.yml b/.github/workflows/test-kitchen.yml index 8bb8dcc15..577297c7b 100644 --- a/.github/workflows/test-kitchen.yml +++ b/.github/workflows/test-kitchen.yml @@ -1,7 +1,13 @@ name: Test Kitchen + on: - push - pull_request + +concurrency: + group: ${{ github.workflow }}-{{ github.head_ref || github.ref }} + cancel-in-progress: true + jobs: kitchen: name: Test Kitchen