diff options
author | Joas Schilling <coding@schilljs.com> | 2022-10-18 08:00:34 +0300 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2022-10-18 08:00:34 +0300 |
commit | 1222059455cc0562154890d2540a8bc85397e129 (patch) | |
tree | e7b11d58ca8b484e5145932f9768e0c93ecfa34f | |
parent | f59afb62bee1cb514af09bf850bbfdbe85c6cee8 (diff) |
🤖 Less CI on pushes
Signed-off-by: Joas Schilling <coding@schilljs.com>
-rw-r--r-- | .github/workflows/lint-eslint.yml | 4 | ||||
-rw-r--r-- | .github/workflows/lint-info-xml.yml | 12 | ||||
-rw-r--r-- | .github/workflows/lint-php.yml | 10 | ||||
-rw-r--r-- | .github/workflows/lint-stylelint.yml | 12 | ||||
-rw-r--r-- | .github/workflows/node.yml | 12 | ||||
-rw-r--r-- | .github/workflows/phpunit-mysql.yml | 8 | ||||
-rw-r--r-- | .github/workflows/phpunit-oci.yml | 8 | ||||
-rw-r--r-- | .github/workflows/phpunit-pgsql.yml | 6 | ||||
-rw-r--r-- | .github/workflows/phpunit-sqlite.yml | 8 | ||||
-rw-r--r-- | .github/workflows/psalm.yml | 12 |
10 files changed, 27 insertions, 65 deletions
diff --git a/.github/workflows/lint-eslint.yml b/.github/workflows/lint-eslint.yml index 3f783f4..f6ddce1 100644 --- a/.github/workflows/lint-eslint.yml +++ b/.github/workflows/lint-eslint.yml @@ -16,6 +16,10 @@ on: permissions: contents: read +concurrency: + group: lint-eslint-${{ github.head_ref || github.run_id }} + cancel-in-progress: true + jobs: lint: runs-on: ubuntu-latest diff --git a/.github/workflows/lint-info-xml.yml b/.github/workflows/lint-info-xml.yml index d877ee5..1e5f5f2 100644 --- a/.github/workflows/lint-info-xml.yml +++ b/.github/workflows/lint-info-xml.yml @@ -5,13 +5,11 @@ name: Lint -on: - pull_request: - push: - branches: - - main - - master - - stable* +on: pull_request + +concurrency: + group: lint-info-xml-${{ github.head_ref || github.run_id }} + cancel-in-progress: true jobs: xml-linters: diff --git a/.github/workflows/lint-php.yml b/.github/workflows/lint-php.yml index 62476c9..0509e80 100644 --- a/.github/workflows/lint-php.yml +++ b/.github/workflows/lint-php.yml @@ -5,18 +5,12 @@ name: Lint -on: - pull_request: - push: - branches: - - main - - master - - stable* +on: pull_request permissions: contents: read -concurrency: +concurrency: group: lint-php-${{ github.head_ref || github.run_id }} cancel-in-progress: true diff --git a/.github/workflows/lint-stylelint.yml b/.github/workflows/lint-stylelint.yml index a5f9b13..a1197f8 100644 --- a/.github/workflows/lint-stylelint.yml +++ b/.github/workflows/lint-stylelint.yml @@ -5,17 +5,15 @@ name: Lint -on: - pull_request: - push: - branches: - - main - - master - - stable* +on: pull_request permissions: contents: read +concurrency: + group: lint-stylelint-${{ github.head_ref || github.run_id }} + cancel-in-progress: true + jobs: lint: runs-on: ubuntu-latest diff --git a/.github/workflows/node.yml b/.github/workflows/node.yml index 443ed95..c70e281 100644 --- a/.github/workflows/node.yml +++ b/.github/workflows/node.yml @@ -5,17 +5,15 @@ name: Node -on: - pull_request: - push: - branches: - - main - - master - - stable* +on: pull_request permissions: contents: read +concurrency: + group: node-${{ github.head_ref || github.run_id }} + cancel-in-progress: true + jobs: build: runs-on: ubuntu-latest diff --git a/.github/workflows/phpunit-mysql.yml b/.github/workflows/phpunit-mysql.yml index e9eb054..96a187f 100644 --- a/.github/workflows/phpunit-mysql.yml +++ b/.github/workflows/phpunit-mysql.yml @@ -19,16 +19,10 @@ on: - 'composer.json' - 'composer.lock' - push: - branches: - - main - - master - - stable* - permissions: contents: read -concurrency: +concurrency: group: phpunit-mysql-${{ github.head_ref || github.run_id }} cancel-in-progress: true diff --git a/.github/workflows/phpunit-oci.yml b/.github/workflows/phpunit-oci.yml index 3744e69..4948ffb 100644 --- a/.github/workflows/phpunit-oci.yml +++ b/.github/workflows/phpunit-oci.yml @@ -19,16 +19,10 @@ on: - 'composer.json' - 'composer.lock' - push: - branches: - - main - - master - - stable* - permissions: contents: read -concurrency: +concurrency: group: phpunit-oci-${{ github.head_ref || github.run_id }} cancel-in-progress: true diff --git a/.github/workflows/phpunit-pgsql.yml b/.github/workflows/phpunit-pgsql.yml index 1acbcc3..1df49ef 100644 --- a/.github/workflows/phpunit-pgsql.yml +++ b/.github/workflows/phpunit-pgsql.yml @@ -19,12 +19,6 @@ on: - 'composer.json' - 'composer.lock' - push: - branches: - - main - - master - - stable* - permissions: contents: read diff --git a/.github/workflows/phpunit-sqlite.yml b/.github/workflows/phpunit-sqlite.yml index f820263..b3e0dd4 100644 --- a/.github/workflows/phpunit-sqlite.yml +++ b/.github/workflows/phpunit-sqlite.yml @@ -19,16 +19,10 @@ on: - 'composer.json' - 'composer.lock' - push: - branches: - - main - - master - - stable* - permissions: contents: read -concurrency: +concurrency: group: phpunit-sqlite-${{ github.head_ref || github.run_id }} cancel-in-progress: true diff --git a/.github/workflows/psalm.yml b/.github/workflows/psalm.yml index dc4d05d..34d6a6f 100644 --- a/.github/workflows/psalm.yml +++ b/.github/workflows/psalm.yml @@ -5,15 +5,9 @@ name: Static analysis -on: - pull_request: - push: - branches: - - master - - main - - stable* - -concurrency: +on: pull_request + +concurrency: group: psalm-${{ github.head_ref || github.run_id }} cancel-in-progress: true |