Skip to content

Commit 2cd4885

Browse files
committed
Changes GitHub Actions "on" trigger
1 parent 0722daf commit 2cd4885

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

.github/workflows/test.yml

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

3-
on: [push, pull_request]
3+
on:
4+
# Trigger the workflow on push or pull request,
5+
# but only for the main branch
6+
push:
7+
branches:
8+
- master
9+
pull_request:
10+
branches:
11+
- master
412

513
jobs:
614
test:

0 commit comments

Comments
 (0)