🤖 Add concurrency to jobs

Signed-off-by: Itxaka <itxaka.garcia@spectrocloud.com>
This commit is contained in:
Itxaka 2023-07-20 09:04:01 +02:00
parent 105f8dec5f
commit 2c0bb11afd
4 changed files with 16 additions and 0 deletions

View File

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

View File

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

View File

@ -9,6 +9,10 @@ on:
- '*'
pull_request:
concurrency:
group: test-${{ github.ref || github.head_ref }}
cancel-in-progress: true
jobs:
docker:
runs-on: ubuntu-latest

View File

@ -7,6 +7,9 @@ on:
- master
tags:
- '*'
concurrency:
group: tool-image-${{ github.ref || github.head_ref }}
cancel-in-progress: true
jobs:
docker: