chore: Add concurrency rules for workflows

- test
- Electronegativity
- linter

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

No files matched your search

+3
View File
@@ -6,6 +6,9 @@ on:
pull_request: pull_request:
branches: branches:
- master - master
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs: jobs:
build_job: build_job:
runs-on: ubuntu-latest runs-on: ubuntu-latest
+3
View File
@@ -1,6 +1,9 @@
name: Lint Repo name: Lint Repo
on: on:
- pull_request - pull_request
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs: jobs:
build: build:
name: Lint name: Lint
+3
View File
@@ -6,6 +6,9 @@ on:
push: push:
branches: branches:
- master - master
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs: jobs:
integration-test: integration-test:
name: integration tests on ${{ matrix.os }} name: integration tests on ${{ matrix.os }}