diff --git a/.github/workflows/code-cov.yml b/.github/workflows/code-cov.yml index 046ba910..520fbe97 100644 --- a/.github/workflows/code-cov.yml +++ b/.github/workflows/code-cov.yml @@ -1,8 +1,12 @@ name: "Code Coverage" on: - - push - - pull_request + push: + branches: + - master + pull_request: + branches: + - master env: COMPOSER_FLAGS: "--ansi --no-interaction --no-progress --prefer-dist" diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index e16034f2..ffa48903 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -1,8 +1,12 @@ name: "PHP Lint" on: - - push - - pull_request + push: + branches: + - master + pull_request: + branches: + - master jobs: tests: diff --git a/.github/workflows/phpstan.yml b/.github/workflows/phpstan.yml index 0ee24f83..08980c0c 100644 --- a/.github/workflows/phpstan.yml +++ b/.github/workflows/phpstan.yml @@ -1,8 +1,12 @@ name: "PHPStan" on: - - push - - pull_request + push: + branches: + - master + pull_request: + branches: + - master env: COMPOSER_FLAGS: "--ansi --no-interaction --no-progress --prefer-dist" diff --git a/.github/workflows/style-check.yml b/.github/workflows/style-check.yml index 3431808c..1d228e58 100644 --- a/.github/workflows/style-check.yml +++ b/.github/workflows/style-check.yml @@ -1,8 +1,12 @@ name: "Style Check" on: - - push - - pull_request + push: + branches: + - master + pull_request: + branches: + - master env: COMPOSER_FLAGS: "--ansi --no-interaction --no-progress --prefer-dist" diff --git a/CHANGELOG.md b/CHANGELOG.md index fdc62e5c..d6cb70b8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Fixed - only check minProperties or maxProperties on objects ([#802](https://github.com/jsonrainbow/json-schema/pull/802)) - 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)) +- avoid duplicate workflow runs ([#804](https://github.com/jsonrainbow/json-schema/pull/804)) ## Changed - replace icecave/parity with custom deep comparator ([#803](https://github.com/jsonrainbow/json-schema/pull/803))