Skip to content

Commit aca524f

Browse files
authored
Only trigger builds on branch main (#389)
Pull requests are already handled otherwise
1 parent 1a94da5 commit aca524f

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/main.yml

+5-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
11
name: CI
22

33
# Run on git push, PR, or manually from the Actions tab
4-
on: [push, pull_request, workflow_dispatch]
4+
on:
5+
push:
6+
branches: [main]
7+
pull_request:
8+
workflow_dispatch:
59

610
jobs:
711
run_test:

0 commit comments

Comments
 (0)