Skip to content

Commit e54b270

Browse files
committed
fixed branch selection
1 parent 83f4a7f commit e54b270

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/build.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,11 @@ on:
55
# Triggers the workflow on push or pull request
66
push:
77
branches:
8-
- '!dev'
9-
- '!main'
8+
- '*' # matches every branch that doesn't contain a '/'
9+
- '*/*' # matches every branch containing a single '/'
10+
- '**' # matches every branch
11+
- '!dev' # excludes dev
12+
- '!main' # excludes main
1013
pull_request:
1114

1215
# Allows you to run this workflow manually from the Actions tab

0 commit comments

Comments
 (0)