From e301da9838b6eb3d85c496126abd73aad46c1be7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Ord=C3=A1s?= <3125580+davorpa@users.noreply.github.com> Date: Wed, 21 Sep 2022 15:25:54 +0200 Subject: [PATCH] fix: refine concurrency policy of `check-urls.yml` workflow (#7096) * fix: refine `check-urls.yml` workflow concurrency policy This parametrization makes don't fail with a cancellation https://github.com/EbookFoundation/free-programming-books/commit/25a05812f7ed2399352b1c9fbacb1226b8ffac69#comments * typo: concurrency code comment --- .github/workflows/check-urls.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/check-urls.yml b/.github/workflows/check-urls.yml index ed3531c34..9e80e6be2 100644 --- a/.github/workflows/check-urls.yml +++ b/.github/workflows/check-urls.yml @@ -7,10 +7,10 @@ on: permissions: contents: read -# This allows a subsequently queued workflow run to interrupt previous runs +# This allows a subsequently queued workflow run to interrupt/wait for previous runs concurrency: - group: '${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref || github.run_id }}' - cancel-in-progress: true + group: '${{ github.workflow }} @ ${{ github.run_id }}' + cancel-in-progress: false # true = interrupt, false = wait jobs: check-urls: