Skip to content

Commit 547df21

Browse files
KaiSpencerTomdango
andauthored
Only run CI on main and PR's (#148)
Currently ci build will run on any push and any pull_request. Pushing to a feature branch kicks off CI unintentionally. Co-authored-by: Thomas Judd-Cooper <[email protected]>
1 parent 3ea93f9 commit 547df21

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
name: CI Build
22

3-
on: [push, pull_request]
3+
on:
4+
push:
5+
branches: main
6+
pull_request:
47

58
jobs:
69
build:

0 commit comments

Comments
 (0)