From e435c66ffedc819db9c125e82f3cebaad9e399ff Mon Sep 17 00:00:00 2001 From: openverse-bot Date: Wed, 5 Oct 2022 20:58:25 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=84=20Synced=20local=20'.github/workfl?= =?UTF-8?q?ows/actionlint.yml'=20with=20remote=20'.github/workflows/action?= =?UTF-8?q?lint.yml'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/actionlint.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/actionlint.yml b/.github/workflows/actionlint.yml index 9bb0d9c9cd..5ae36d07f0 100644 --- a/.github/workflows/actionlint.yml +++ b/.github/workflows/actionlint.yml @@ -6,6 +6,13 @@ on: branches: - main +# Cancels all previous workflow runs for pull requests that have not completed. +concurrency: + # The concurrency group contains the workflow name and the branch name for pull requests + # or the commit hash for any other events. + group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.head_ref || github.sha }} + cancel-in-progress: true + jobs: actionlint: runs-on: ubuntu-latest