Skip to content

Commit 1befcb5

Browse files
Stop building both branch & PR with pushes
Build pushes to the main branch and open PRs, but not pushes to other branches. Allow workflow_dispatch to build them manually if we want to.
1 parent bb2b4ec commit 1befcb5

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/test.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
name: Test
2-
on: [push, pull_request]
2+
on:
3+
push:
4+
branches:
5+
- main
6+
pull_request:
7+
workflow_dispatch:
38
jobs:
49
test:
510
strategy:

0 commit comments

Comments
 (0)