Skip to content

Commit 542bb85

Browse files
committed
Avoid running workflows on all push events
Only run on push events to main. This ensures that our main branch is always passing.
1 parent c66fe07 commit 542bb85

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/main.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
name: Build Extension
2-
on: [push, pull_request]
2+
on:
3+
pull_request:
4+
push:
5+
branches:
6+
- main
37

48
jobs:
59
build:

0 commit comments

Comments
 (0)