Skip to content

Commit 1adc58f

Browse files
committed
Only trigger GitHub actions on direct pushes to master
Otherwise the actions are ran only when a pull request is open.
1 parent 6c46bad commit 1adc58f

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

.github/workflows/main.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
name: main
2-
on: [push, pull_request]
2+
on:
3+
push:
4+
branches:
5+
- master
6+
pull_request:
37
jobs:
48
build-and-test:
59
strategy:

0 commit comments

Comments
 (0)