Skip to content

Commit bb6eee6

Browse files
committed
ci: don't run on every push
Running on every push is redundant and somewhat annoying in forks.
1 parent d6aa1a5 commit bb6eee6

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

.github/workflows/main.yml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,17 @@
11
name: build
22

3-
on: [push, pull_request]
3+
on:
4+
push:
5+
branches:
6+
- "master"
7+
- "test-me-*"
8+
tags:
9+
- "[0-9]+.[0-9]+.[0-9]+"
10+
- "[0-9]+.[0-9]+.[0-9]+rc[0-9]+"
11+
12+
pull_request:
13+
branches:
14+
- "master"
415

516
jobs:
617
tests:

0 commit comments

Comments
 (0)