diff options
author | Joas Schilling <coding@schilljs.com> | 2022-10-18 08:00:34 +0300 |
---|---|---|
committer | backportbot-nextcloud[bot] <backportbot-nextcloud[bot]@users.noreply.github.com> | 2022-10-18 17:06:15 +0300 |
commit | 096b026b4e12bb915a28020c6b7c2bcc1c82ceee (patch) | |
tree | afa2341134ac85665c1e92122881b4581d7660e2 | |
parent | b48d7aa5205bc4f4c16c49c1671ffe8084ba8c60 (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-stylelint.yml | 12 | ||||
-rw-r--r-- | .github/workflows/node.yml | 12 |
4 files changed, 19 insertions, 21 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-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 |