Skip to content

Commit 9369c5d

Browse files
committed
On second thought let's not build on every push
unless the push is to the main branch
1 parent 4dffbba commit 9369c5d

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/build.yml

+6-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
name: Build and lint
22

3-
on: [pull_request, push, workflow_dispatch]
3+
on:
4+
push:
5+
branches:
6+
- master
7+
pull_request:
8+
workflow_dispatch:
49

510
jobs:
611
build:

0 commit comments

Comments
 (0)