Skip to content

Commit 7176d89

Browse files
authored
πŸ’š Only run CI on push when on master, to avoid duplicate runs on PRs (#244)
1 parent e6f8c00 commit 7176d89

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

β€Ž.github/workflows/build-docs.ymlβ€Ž

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
name: Build Docs
22
on:
33
push:
4+
branches:
5+
- main
46
pull_request:
57
types: [opened, synchronize]
68
workflow_dispatch:

β€Ž.github/workflows/test.ymlβ€Ž

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ name: Test
22

33
on:
44
push:
5+
branches:
6+
- main
57
pull_request:
68
types: [opened, synchronize]
79
workflow_dispatch:

0 commit comments

Comments
Β (0)