Auto cancel stale workflows (#7494)

* chore: rename workflow file

Signed-off-by: Sebastian Malton <sebastian@malton.name>

* chore: Add concurrency rules for workflows

- test
- Electronegativity
- linter

Signed-off-by: Sebastian Malton <sebastian@malton.name>

---------

Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
Sebastian Malton authored and GitHub committed 2023-04-04 07:33:18 -04:00
1 parent 2cf8a2f188
commit 173a667466
4 files changed
+9

No files matched your search

+3
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
+3
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
File renamed without changes.
+3
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 }}