From d5028041cb783f5c9f3279f38828dbacbb38081f Mon Sep 17 00:00:00 2001 From: Yuriy Andamasov Date: Sun, 12 Jul 2026 16:45:54 +0300 Subject: docs-infra: use PR number (not head ref) in apex-deploy concurrency group MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Phase-0 CodeRabbit finding on the PR-trigger commit: github.head_ref is not unique across forks, so two PRs from different forks with the same branch name would share a concurrency group. Key on github.event.pull_request.number instead. 🤖 Generated by [robots](https://vyos.io) --- .github/workflows/apex-deploy.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/apex-deploy.yml b/.github/workflows/apex-deploy.yml index efa42fd7..6459ac7a 100644 --- a/.github/workflows/apex-deploy.yml +++ b/.github/workflows/apex-deploy.yml @@ -9,9 +9,10 @@ on: workflow_dispatch: {} concurrency: - # PR runs group per head ref so pushes to the same PR queue/cancel independently - # of the rolling deploy group. - group: apex-deploy-${{ github.event_name == 'pull_request' && github.head_ref || github.ref_name }} + # PR runs group per PR number (not head ref — same-named branches from + # different forks would otherwise share a group) so pushes to the same PR + # queue/cancel independently of the rolling deploy group. + group: apex-deploy-${{ github.event_name == 'pull_request' && github.event.pull_request.number || github.ref_name }} # false (not true): a mid-job cancel can leave the apex/preview worker pair # half-updated; queuing subsequent runs is safe. cancel-in-progress: false -- cgit v1.2.3