🤖 Add concurrency to CI (#33)

This commit is contained in:
Itxaka 2023-06-15 11:20:19 +02:00 committed by GitHub
parent 8420155746
commit b5b4d0d042
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 20 additions and 0 deletions

View File

@ -9,6 +9,10 @@ on:
paths-ignore: paths-ignore:
- 'README.md' - 'README.md'
concurrency:
group: ci-e2e-${{ github.head_ref || github.ref }}-${{ github.repository }}
cancel-in-progress: true
jobs: jobs:
build-iso: build-iso:
runs-on: ubuntu-latest runs-on: ubuntu-latest

View File

@ -8,6 +8,11 @@ on:
tags: tags:
- '*' - '*'
concurrency:
group: ci-image-${{ github.head_ref || github.ref }}-${{ github.repository }}
cancel-in-progress: true
jobs: jobs:
docker: docker:
runs-on: ubuntu-latest runs-on: ubuntu-latest

View File

@ -6,6 +6,12 @@ on:
pull_request: pull_request:
paths: paths:
- '**' - '**'
concurrency:
group: ci-lint-${{ github.head_ref || github.ref }}-${{ github.repository }}
cancel-in-progress: true
env: env:
FORCE_COLOR: 1 FORCE_COLOR: 1
jobs: jobs:

View File

@ -6,6 +6,11 @@ on:
- master - master
pull_request: pull_request:
concurrency:
group: ci-unit-${{ github.head_ref || github.ref }}-${{ github.repository }}
cancel-in-progress: true
jobs: jobs:
unit-tests: unit-tests:
runs-on: ubuntu-latest runs-on: ubuntu-latest