👷 Fix names related to concurrency policy for workflow calls

This commit is contained in:
David Barragán Merino 2026-08-26 20:21:57 +02:00 committed by David Barragán Merino
parent 87c51090b1
commit 980ccf15fa
6 changed files with 28 additions and 2 deletions

View File

@ -17,8 +17,12 @@ on:
required: true required: true
default: 'develop' default: 'develop'
# Literal group name: under `workflow_call`, `github.workflow` resolves to the
# caller's workflow, which put this workflow and the other reusable one called
# by the same caller into a single shared group, and left a manual dispatch of
# the same ref in a group of its own, free to race on the same artifacts.
concurrency: concurrency:
group: ${{ github.workflow }}-${{ inputs.gh_ref }} group: build-bundle-${{ inputs.gh_ref }}
cancel-in-progress: true cancel-in-progress: true
jobs: jobs:

View File

@ -5,6 +5,10 @@ on:
schedule: schedule:
- cron: '16 5-20 * * 1-5' - cron: '16 5-20 * * 1-5'
concurrency:
group: ${{ github.workflow }}
cancel-in-progress: true
jobs: jobs:
build-bundle: build-bundle:
uses: ./.github/workflows/build-bundle.yml uses: ./.github/workflows/build-bundle.yml

View File

@ -16,8 +16,12 @@ on:
required: true required: true
default: 'develop' default: 'develop'
# Literal group name: under `workflow_call`, `github.workflow` resolves to the
# caller's workflow, which put this workflow and the other reusable one called
# by the same caller into a single shared group, and left a manual dispatch of
# the same ref in a group of its own, free to race on the same artifacts.
concurrency: concurrency:
group: ${{ github.workflow }}-${{ inputs.gh_ref }} group: build-docker-${{ inputs.gh_ref }}
cancel-in-progress: true cancel-in-progress: true
env: env:

View File

@ -5,6 +5,10 @@ on:
schedule: schedule:
- cron: '36 5-20 * * 1-5' - cron: '36 5-20 * * 1-5'
concurrency:
group: ${{ github.workflow }}
cancel-in-progress: true
jobs: jobs:
build-bundle: build-bundle:
uses: ./.github/workflows/build-bundle.yml uses: ./.github/workflows/build-bundle.yml

View File

@ -6,6 +6,12 @@ on:
tags: tags:
- '*' - '*'
# Keyed by ref and never cancelling: pushing 2.17.2 shortly after 2.17.2-RC1
# must not abort the release already in flight.
concurrency:
group: ${{ github.workflow }}-${{ github.ref_name }}
cancel-in-progress: false
jobs: jobs:
build-bundle: build-bundle:
uses: ./.github/workflows/build-bundle.yml uses: ./.github/workflows/build-bundle.yml

View File

@ -5,6 +5,10 @@ on:
schedule: schedule:
- cron: '46 5-20 * * 1-5' - cron: '46 5-20 * * 1-5'
concurrency:
group: ${{ github.workflow }}
cancel-in-progress: true
jobs: jobs:
build-bundle: build-bundle:
uses: ./.github/workflows/build-bundle.yml uses: ./.github/workflows/build-bundle.yml