Skip to content

Commit 24ef6ff

Browse files
fix: trigger CI on release branches
The '*' glob pattern doesn't match branch names with '/' (like release/0.3.0). This caused Craft publish to fail because no CI ran on release branches. Change to explicit branch list matching getsentry/cli convention.
1 parent ccc9ad0 commit 24ef6ff

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

.github/workflows/build.yml

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

33
on:
44
pull_request:
5-
branches:
6-
- "*"
75
push:
86
branches:
9-
- "*"
7+
- main
8+
- "release/**"
109

1110
jobs:
1211
test_job:

0 commit comments

Comments
 (0)