Skip to content

Commit 3de4ce1

Browse files
authored
Trigger CI workflows on all release/** branches (#2117) (#2119)
## Summary Backport of #2117 to `release/v0.9.x`: switch the workflow branch filters from hardcoded release names to a `release/**` glob so CI actually runs on PRs targeting this release branch. Cherry-pick of `83c8ae96` (`-x` provenance recorded). ## Why this is needed on the release branch Workflow `branches` filters are per-branch. `release/v0.9.x`'s copies still read `[main, release/v0.7.x]` (or `[main]`), so PRs targeting `release/v0.9.x` trigger no CI — only branch-agnostic checks (DCO/labelers/snyk) run. The `main` fix in #2117 does not affect this branch on its own; existing release branches carry their own filters and must have the change backported. ## Changes `branches` filters updated to `[main, "release/**"]`: - `ci.yaml` — push + pull_request - `ui-chromatic.yaml` — push + pull_request - `migration-immutability.yaml` — pull_request - `sqlc-generate-check.yaml` — pull_request Trigger filters only; no job logic changed. The glob still matches `release/v0.7.x`, so nothing that ran before stops. Signed-off-by: Jeremy Alvis <jeremy.alvis@solo.io>
1 parent 79cab39 commit 3de4ce1

4 files changed

Lines changed: 6 additions & 6 deletions

File tree

.github/workflows/ci.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@ name: CI Build
22

33
on:
44
push:
5-
branches: [main, release/v0.7.x]
5+
branches: [main, "release/**"]
66
paths-ignore:
77
- "**/*.md"
88
pull_request:
9-
branches: [main, release/v0.7.x]
9+
branches: [main, "release/**"]
1010
paths-ignore:
1111
- "**/*.md"
1212
workflow_dispatch:

.github/workflows/migration-immutability.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Migration Immutability
22

33
on:
44
pull_request:
5-
branches: [main]
5+
branches: [main, "release/**"]
66
paths:
77
- "go/core/pkg/migrations/**"
88

.github/workflows/sqlc-generate-check.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: sqlc Generate Check
22

33
on:
44
pull_request:
5-
branches: [main]
5+
branches: [main, "release/**"]
66
paths:
77
- "go/core/internal/database/queries/**"
88
- "go/core/internal/database/sqlc.yaml"

.github/workflows/ui-chromatic.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@ name: UI Storybook & Chromatic
55

66
on:
77
push:
8-
branches: [main, release/v0.7.x]
8+
branches: [main, "release/**"]
99
paths:
1010
- "ui/**"
1111
pull_request:
12-
branches: [main, release/v0.7.x]
12+
branches: [main, "release/**"]
1313
paths:
1414
- "ui/**"
1515
workflow_dispatch:

0 commit comments

Comments
 (0)