Skip to content

Commit 191bd4e

Browse files
ci: Reduce duplicate workflow runs (#804)
1 parent cd30df3 commit 191bd4e

File tree

5 files changed

+25
-8
lines changed

5 files changed

+25
-8
lines changed

.github/workflows/code-cov.yml

+6-2
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

+6-2
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

+6-2
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

+6-2
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"

CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
99
### Fixed
1010
- only check minProperties or maxProperties on objects ([#802](https://github.com/jsonrainbow/json-schema/pull/802))
1111
- replace filter_var for uri and uri-reference to userland code to be RFC 3986 compliant ([#800](https://github.com/jsonrainbow/json-schema/pull/800))
12+
- avoid duplicate workflow runs ([#804](https://github.com/jsonrainbow/json-schema/pull/804))
1213

1314
## Changed
1415
- replace icecave/parity with custom deep comparator ([#803](https://github.com/jsonrainbow/json-schema/pull/803))

0 commit comments

Comments
 (0)