Skip to content

Commit 948b555

Browse files
committed
github/workflows: trigger CI workflow for push on all branches and pr on master
1 parent 6b9b76d commit 948b555

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.github/workflows/ci.yml

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

33
on:
4+
# Trigger the workflow on push or pull request,
5+
# but only for the master branch
46
push:
57
branches:
6-
- 'master'
8+
- *
79
pull_request:
8-
branches:
9-
- '*'
10+
branches:
11+
- master
12+
1013
env:
1114
GOPATH: /tmp/go
1215
# Because some tests require explicit setting of GOPATH. TODO: FIX THEM.

0 commit comments

Comments
 (0)