mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-11-05 03:27:42 +01:00
ci: queue publish runs via turnstyle instead of cancel-free shared groups
This commit is contained in:
1 parent
4cf9dbf78c
commit
039148f8d5
4 files changed
+38
-4
No files matched your search
@@ -25,7 +25,7 @@ on:
|
||||
default: ''
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.event.pull_request.number || (github.event_name == 'push' && github.ref) || github.event.inputs.image_tag || format('foundationdb_{0}_seaweedfs_{1}', github.event.inputs.fdb_version || '7.4.5', github.event.inputs.seaweedfs_ref || github.ref_name) }}
|
||||
group: ${{ github.workflow }}-${{ github.event.pull_request.number || (github.event_name == 'push' && github.ref) || github.run_id }}
|
||||
cancel-in-progress: ${{ github.event_name == 'pull_request' || (github.event_name == 'push' && !startsWith(github.ref, 'refs/tags/')) }}
|
||||
|
||||
permissions:
|
||||
@@ -37,8 +37,17 @@ jobs:
|
||||
permissions:
|
||||
contents: read
|
||||
id-token: write
|
||||
actions: read
|
||||
|
||||
steps:
|
||||
- name: Wait for earlier publishing runs
|
||||
if: github.event_name == 'workflow_dispatch'
|
||||
uses: softprops/turnstyle@3805450be63b8c80577dc253e8c17e9132036df4 # v3.3.3
|
||||
with:
|
||||
same-branch-only: false
|
||||
poll-interval-seconds: 30
|
||||
abort-after-seconds: 7200
|
||||
initial-wait-seconds: 30
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v7
|
||||
with:
|
||||
|
||||
Reference in new issue
Block a user