mirror of
https://github.com/home-assistant/frontend.git
synced 2025-08-02 14:07:55 +00:00
Add concurrency rules to cancel workflows in progress
This commit is contained in:
parent
de03c9610b
commit
7c1b2e01fe
4
.github/workflows/ci.yaml
vendored
4
.github/workflows/ci.yaml
vendored
@ -15,6 +15,10 @@ env:
|
|||||||
NODE_OPTIONS: --max_old_space_size=6144
|
NODE_OPTIONS: --max_old_space_size=6144
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
|
concurrency:
|
||||||
|
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
|
||||||
|
cancel-in-progress: true
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
lint:
|
lint:
|
||||||
name: Lint and check format
|
name: Lint and check format
|
||||||
|
4
.github/workflows/dedupe.yaml
vendored
4
.github/workflows/dedupe.yaml
vendored
@ -12,6 +12,10 @@ env:
|
|||||||
permissions:
|
permissions:
|
||||||
contents: write
|
contents: write
|
||||||
|
|
||||||
|
concurrency:
|
||||||
|
group: ${{ github.workflow }}-${{ github.ref }}
|
||||||
|
cancel-in-progress: true
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
dedupe:
|
dedupe:
|
||||||
name: Deduplicate dependencies
|
name: Deduplicate dependencies
|
||||||
|
Loading…
x
Reference in New Issue
Block a user