Skip to content

Commit eb29812

Browse files
⚙️ config(ci): Only run GHA workflows once on PRs.
1 parent 960226f commit eb29812

File tree

4 files changed

+22
-8
lines changed

4 files changed

+22
-8
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
name: ci
22

33
on:
4-
- push
5-
- pull_request
4+
push:
5+
branches:
6+
main
7+
pull_request:
68

79
jobs:
810

.github/workflows/ci:cover.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
11
name: ci:cover
2+
23
on:
3-
- push
4-
- pull_request
4+
push:
5+
branches:
6+
main
7+
pull_request:
8+
59
jobs:
610
cover:
711
name: Continuous integration (code coverage)

.github/workflows/ci:lint-config.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
11
name: ci:lint-config
2+
23
on:
3-
- push
4-
- pull_request
4+
push:
5+
branches:
6+
main
7+
pull_request:
8+
59
jobs:
610
cover:
711
name: Continuous integration (config linting)

.github/workflows/ci:lint.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
11
name: ci:lint
2+
23
on:
3-
- push
4-
- pull_request
4+
push:
5+
branches:
6+
main
7+
pull_request:
8+
59
jobs:
610
cover:
711
name: Continuous integration (code linting)

0 commit comments

Comments
 (0)