Skip to content

Commit 704170f

Browse files
committed
chore: make pull builds only run for releasable branches
1 parent 64ba075 commit 704170f

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

.github/workflows/validate.yml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,16 @@
11
name: validate
2-
on: [push, pull_request]
2+
on:
3+
push:
4+
branches:
5+
[
6+
'+([0-9])?(.{+([0-9]),x}).x',
7+
'master',
8+
'next',
9+
'next-major',
10+
'beta',
11+
'alpha',
12+
]
13+
pull_request: {}
314
jobs:
415
main:
516
strategy:

0 commit comments

Comments
 (0)