From 4f50cf40caa6b90659470a3b11adc71d2ce7dc5c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Martins?= Date: Wed, 29 Jul 2026 10:42:11 +0200 Subject: [PATCH] .github/templates: exclude cilium-cli-exclusive PRs from minor changelog MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The minor release template is the only one that runs 2-prepare-release locally; the other templates route that step through the release workflow in cilium/cilium, which already passes --exclude-labels "cilium-cli-exclusive". Without the flag, a local run picks up PRs labeled cilium-cli-exclusive in the generated changelog, which then differs from what CI would have produced. Signed-off-by: André Martins --- .github/templates/release_template_minor.md | 2 +- testdata/checklist/release_template_minor.md.golden | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/templates/release_template_minor.md b/.github/templates/release_template_minor.md index cce5f99..41ddd1b 100644 --- a/.github/templates/release_template_minor.md +++ b/.github/templates/release_template_minor.md @@ -35,7 +35,7 @@ assignees: '' ## Preparation PR (run ~1 day before targeted publish date. This step can be re-run multiple times.) -- [ ] Run `./release start --steps 2-prepare-release --target-version vX.Y.0` +- [ ] Run `./release start --steps 2-prepare-release --target-version vX.Y.0 --exclude-labels "cilium-cli-exclusive"` - [ ] Manually fix the following: - [ ] Add the 'stable' tag as part of the GitHub workflow and remove the 'stable' tag from the last stable branch (vX.Y-1). diff --git a/testdata/checklist/release_template_minor.md.golden b/testdata/checklist/release_template_minor.md.golden index 3fca0d3..f0816c8 100644 --- a/testdata/checklist/release_template_minor.md.golden +++ b/testdata/checklist/release_template_minor.md.golden @@ -35,7 +35,7 @@ assignees: '' ## Preparation PR (run ~1 day before targeted publish date. This step can be re-run multiple times.) -- [ ] Run `./release start --steps 2-prepare-release --target-version v1.10.0` +- [ ] Run `./release start --steps 2-prepare-release --target-version v1.10.0 --exclude-labels "cilium-cli-exclusive"` - [ ] Manually fix the following: - [ ] Add the 'stable' tag as part of the GitHub workflow and remove the 'stable' tag from the last stable branch (v1.9).