1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00

chore: Add concurrency rules for workflows

- test
- Electronegativity
- linter

Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
Sebastian Malton 2023-04-03 14:47:28 -04:00
parent 9c83c879f9
commit 0eee271b68
3 changed files with 9 additions and 0 deletions

View File

@ -6,6 +6,9 @@ on:
pull_request:
branches:
- master
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
build_job:
runs-on: ubuntu-latest

View File

@ -1,6 +1,9 @@
name: Lint Repo
on:
- pull_request
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
build:
name: Lint

View File

@ -6,6 +6,9 @@ on:
push:
branches:
- master
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
integration-test:
name: integration tests on ${{ matrix.os }}