summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPierrick Hymbert <pierrick.hymbert@gmail.com>2024-04-26 09:26:59 +0200
committerGitHub <noreply@github.com>2024-04-26 09:26:59 +0200
commit7d641c26ac73956a54b204cabefe85c764823678 (patch)
treeee5a4fe836e66c6b8ad68515bf51be2dc8eddf07
parent5790c8dac1a4f0aa80b4efee3b962d8c04c829e8 (diff)
ci: fix concurrency for pull_request_target (#6917)
-rw-r--r--.github/workflows/bench.yml2
-rw-r--r--.github/workflows/server.yml2
2 files changed, 2 insertions, 2 deletions
diff --git a/.github/workflows/bench.yml b/.github/workflows/bench.yml
index d50af0b7..6dc91d27 100644
--- a/.github/workflows/bench.yml
+++ b/.github/workflows/bench.yml
@@ -32,7 +32,7 @@ on:
- cron: '04 2 * * *'
concurrency:
- group: ${{ github.workflow }}-${{ github.ref || github.run_id }}-${{ github.event.inputs.sha }}
+ group: ${{ github.workflow }}-${{ github.ref }}-${{ github.head_ref || github.run_id }}-${{ github.event.inputs.sha }}
cancel-in-progress: true
jobs:
diff --git a/.github/workflows/server.yml b/.github/workflows/server.yml
index 3e68a3c8..499611b5 100644
--- a/.github/workflows/server.yml
+++ b/.github/workflows/server.yml
@@ -23,7 +23,7 @@ on:
- cron: '2 4 * * *'
concurrency:
- group: ${{ github.workflow }}-${{ github.ref || github.run_id }}
+ group: ${{ github.workflow }}-${{ github.ref }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs: