Skip to content

Commit f6a7d41

Browse files
committed
chore: run workflows only on PRs to main and main itself
1 parent bb86472 commit f6a7d41

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

.github/workflows/build-main.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ name: build-main
22
on:
33
pull_request:
44
types: [ opened, synchronize ]
5+
branches:
6+
- main
57
push:
68
branches:
79
- main

.github/workflows/semantic-pr.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ on:
66
- opened
77
- edited
88
- synchronize
9+
branches:
10+
- main
911

1012
jobs:
1113
main:

0 commit comments

Comments
 (0)