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
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
lint:
|
||||
name: Lint and check format
|
||||
|
4
.github/workflows/dedupe.yaml
vendored
4
.github/workflows/dedupe.yaml
vendored
@ -12,6 +12,10 @@ env:
|
||||
permissions:
|
||||
contents: write
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
dedupe:
|
||||
name: Deduplicate dependencies
|
||||
|
Loading…
x
Reference in New Issue
Block a user