Skip to content

Commit 142f8b9

Browse files
[fix]: drop release/** from build-and-test push triggers
Replaces the earlier concurrency-key split. release-branch commits (e.g. the CHANGELOG date finalize step in release-workflow.yml) were firing build-and-test from both push:release/** and pull_request:synchronize, and the two runs cancelled each other. Removing release/** from the push triggers leaves only the pull_request:synchronize path, so each commit produces exactly one build-and-test run on the release PR. The release-workflow.yml stays unchanged — the CHANGELOG commit is still made on the release branch so the merge into main is atomic, and gh pr checks --watch sees the single synchronize-triggered run. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 12f575b commit 142f8b9

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

.github/workflows/build-and-test.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,8 @@ on:
77
push:
88
branches:
99
- main
10-
- release/**
1110
concurrency:
12-
group: build-and-test-${{ github.event_name }}-${{ github.head_ref || github.ref_name }}
11+
group: build-and-test-${{ github.head_ref || github.ref_name }}
1312
cancel-in-progress: true
1413

1514
jobs:

0 commit comments

Comments
 (0)