Commit d2da1e2
authored
ci(core,rest): trigger release builds on tags only, not release/* branches (#2622)
## Summary
- Remove `release/*` from `on.push.branches` in both `ci.yaml` (Core)
and `rest-ci.yml` (REST) so that pushes to release branches no longer
trigger full CI runs
- Release CI is now triggered exclusively by version tags (`v*`) which
already exist in the `on.push.tags` globs
- Add `refs/tags/` to the `notify-build-status` condition in `ci.yaml`
so tag-triggered release builds still send Slack notifications
Closes #2340
## Test plan
- [ ] Push a commit to a `release/*` branch — CI should **not** trigger
- [ ] Push a `v*` tag on a release branch — both Core and REST CI should
trigger via the existing `on.push.tags` globs
- [ ] Verify `notify-build-status` fires on a tag-triggered build (check
Slack notification)
- [ ] Verify `main` and `pull-request/*` push triggers are unaffected1 parent 3450739 commit d2da1e2
2 files changed
Lines changed: 1 addition & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
24 | 23 | | |
25 | 24 | | |
26 | 25 | | |
| |||
1407 | 1406 | | |
1408 | 1407 | | |
1409 | 1408 | | |
1410 | | - | |
| 1409 | + | |
1411 | 1410 | | |
1412 | 1411 | | |
1413 | 1412 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
12 | 11 | | |
13 | 12 | | |
14 | 13 | | |
| |||
0 commit comments