Skip to content

Commit 8b6b5f9

Browse files
committed
ci: build on master/pull_requests/merge queues
we don't need to build features branches twice
1 parent 0257ecb commit 8b6b5f9

File tree

4 files changed

+18
-6
lines changed

4 files changed

+18
-6
lines changed

.github/workflows/build-and-deploy.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
name: "Build and Deploy"
22
on:
3-
push: {}
4-
pull_request: {}
3+
push:
4+
branches:
5+
- master
6+
merge_group:
7+
pull_request:
58

69
jobs:
710
build-and-deploy:

.github/workflows/editorconfig.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
11
name: "Check EditorConfig"
22

33
on:
4-
pull_request:
54
push:
5+
branches:
6+
- master
7+
merge_group:
8+
pull_request:
69

710
jobs:
811
check:

.github/workflows/test.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
11
name: "Test"
22

33
on:
4-
push: {}
5-
pull_request: {}
4+
push:
5+
branches:
6+
- master
7+
merge_group:
8+
pull_request:
69

710
jobs:
811
# The linkchecker runs into rate limits 100% of the time in CI for a very long time

.github/workflows/vale.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
name: Prose lint checks
22
on:
3-
pull_request:
43
push:
4+
branches:
5+
- master
6+
merge_group:
7+
pull_request:
58

69
jobs:
710
vale:

0 commit comments

Comments
 (0)