Fix gha concurrency conditions (#8702)
This commit is contained in:
parent
f3f14afbbf
commit
7efd7b67ea
2 changed files with 4 additions and 1 deletions
3
.github/workflows/pull_request.yaml
vendored
3
.github/workflows/pull_request.yaml
vendored
|
@ -2,6 +2,9 @@ name: Pull Request
|
||||||
on:
|
on:
|
||||||
pull_request_target:
|
pull_request_target:
|
||||||
types: [ opened, edited, labeled, unlabeled, synchronize ]
|
types: [ opened, edited, labeled, unlabeled, synchronize ]
|
||||||
|
concurrency:
|
||||||
|
group: ${{ github.workflow }}-${{ github.event.pull_request.head.ref }}
|
||||||
|
cancel-in-progress: true
|
||||||
jobs:
|
jobs:
|
||||||
changelog:
|
changelog:
|
||||||
name: Preview Changelog
|
name: Preview Changelog
|
||||||
|
|
2
.github/workflows/sonarqube.yml
vendored
2
.github/workflows/sonarqube.yml
vendored
|
@ -5,7 +5,7 @@ on:
|
||||||
types:
|
types:
|
||||||
- completed
|
- completed
|
||||||
concurrency:
|
concurrency:
|
||||||
group: ${{ github.workflow }}-${{ github.ref }}
|
group: ${{ github.workflow }}-${{ github.event.workflow_run.head_branch }}
|
||||||
cancel-in-progress: true
|
cancel-in-progress: true
|
||||||
jobs:
|
jobs:
|
||||||
prdetails:
|
prdetails:
|
||||||
|
|
Loading…
Reference in a new issue