From 6490f743343607f57cceee44aa09f6e5d54ccf2c Mon Sep 17 00:00:00 2001 From: schlessera Date: Wed, 13 Oct 2021 08:05:23 +0000 Subject: [PATCH] Update file(s) from wp-cli/.github --- .github/workflows/code-quality.yml | 6 ++++++ .github/workflows/regenerate-readme.yml | 7 +++++++ .github/workflows/testing.yml | 6 ++++++ 3 files changed, 19 insertions(+) diff --git a/.github/workflows/code-quality.yml b/.github/workflows/code-quality.yml index 2ea1098..e3fc0ef 100644 --- a/.github/workflows/code-quality.yml +++ b/.github/workflows/code-quality.yml @@ -6,6 +6,12 @@ on: branches: - master +# Cancels all previous workflow runs for the same branch that have not yet completed. +concurrency: + # The concurrency group contains the workflow name and the branch name. + group: ${{ github.workflow }}-${{ github.head_ref }} + cancel-in-progress: true + jobs: lint: #----------------------------------------------------------------------- diff --git a/.github/workflows/regenerate-readme.yml b/.github/workflows/regenerate-readme.yml index 173e93e..323ead6 100644 --- a/.github/workflows/regenerate-readme.yml +++ b/.github/workflows/regenerate-readme.yml @@ -8,6 +8,13 @@ on: paths-ignore: - 'features/**' - 'README.md' + +# Cancels all previous workflow runs for the same branch that have not yet completed. +concurrency: + # The concurrency group contains the workflow name and the branch name. + group: ${{ github.workflow }}-${{ github.head_ref }} + cancel-in-progress: true + jobs: diff --git a/.github/workflows/testing.yml b/.github/workflows/testing.yml index 78f82aa..4daba93 100644 --- a/.github/workflows/testing.yml +++ b/.github/workflows/testing.yml @@ -6,6 +6,12 @@ on: branches: - master +# Cancels all previous workflow runs for the same branch that have not yet completed. +concurrency: + # The concurrency group contains the workflow name and the branch name. + group: ${{ github.workflow }}-${{ github.head_ref }} + cancel-in-progress: true + jobs: unit: #-----------------------------------------------------------------------