Skip to content

Commit b15e765

Browse files
committed
Run CI on PR only on pull_request and on main branch on push
1 parent 901dfcc commit b15e765

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/ci.yml

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

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

59
jobs:
610
build:

0 commit comments

Comments
 (0)