mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-04-14 19:02:55 +00:00
fix(ci): fix concurrency of ci runs if triggered by pull_request_target
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
This commit is contained in:
parent
1928cd8639
commit
5016eb38ca
2 changed files with 3 additions and 2 deletions
3
.github/workflows/frontend-e2e-tests.yml
vendored
3
.github/workflows/frontend-e2e-tests.yml
vendored
|
@ -18,13 +18,14 @@ permissions:
|
|||
env:
|
||||
NODE_VERSION: 18
|
||||
HEAD_COMMIT_HASH: "${{ !!github.event.pull_request && github.event.pull_request.head.sha || github.sha }}"
|
||||
HEAD_REF: "${{ !!github.event.pull_request && github.event.pull_request.head.label || github.ref }}"
|
||||
|
||||
defaults:
|
||||
run:
|
||||
working-directory: frontend
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.event_name }}
|
||||
group: ${{ github.workflow }}-${{ env.HEAD_REF }}-${{ github.event_name }}
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
|
|
|
@ -35,7 +35,7 @@ defaults:
|
|||
working-directory: frontend
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.event_name }}
|
||||
group: ${{ github.workflow }}-${{ github.event.pull_request.head.label }}-${{ github.event_name }}
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
|
|
Loading…
Add table
Reference in a new issue