Skip to content

Commit 60a8fb1

Browse files
committed
ci: Reduce duplicate workflow runs
1 parent a8c0088 commit 60a8fb1

File tree

4 files changed

+24
-8
lines changed

4 files changed

+24
-8
lines changed

.github/workflows/code-cov.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,12 @@
11
name: "Code Coverage"
22

33
on:
4-
- push
5-
- pull_request
4+
push:
5+
branches:
6+
- master
7+
pull_request:
8+
branches:
9+
- master
610

711
env:
812
COMPOSER_FLAGS: "--ansi --no-interaction --no-progress --prefer-dist"

.github/workflows/lint.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,12 @@
11
name: "PHP Lint"
22

33
on:
4-
- push
5-
- pull_request
4+
push:
5+
branches:
6+
- master
7+
pull_request:
8+
branches:
9+
- master
610

711
jobs:
812
tests:

.github/workflows/phpstan.yml

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

33
on:
4-
- push
5-
- pull_request
4+
push:
5+
branches:
6+
- master
7+
pull_request:
8+
branches:
9+
- master
610

711
env:
812
COMPOSER_FLAGS: "--ansi --no-interaction --no-progress --prefer-dist"

.github/workflows/style-check.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,12 @@
11
name: "Style Check"
22

33
on:
4-
- push
5-
- pull_request
4+
push:
5+
branches:
6+
- master
7+
pull_request:
8+
branches:
9+
- master
610

711
env:
812
COMPOSER_FLAGS: "--ansi --no-interaction --no-progress --prefer-dist"

0 commit comments

Comments
 (0)