mirror of
https://github.com/whyour/qinglong.git
synced 2026-10-02 06:31:40 +08:00
fix(ci): isolate CLI release concurrency from validation
This commit is contained in:
@@ -33,8 +33,15 @@ permissions:
|
|||||||
contents: read
|
contents: read
|
||||||
|
|
||||||
concurrency:
|
concurrency:
|
||||||
group: cli-package-${{ github.workflow }}-${{ github.ref }}
|
# Keep validation runs separate from releases; never interrupt a running release.
|
||||||
cancel-in-progress: ${{ github.ref != 'refs/heads/master' }}
|
# Master push releases share the same group as manually requested releases.
|
||||||
|
group: >-
|
||||||
|
cli-package-${{ github.workflow }}-${{ github.ref }}-${{
|
||||||
|
((github.event_name == 'workflow_dispatch' && inputs.publish) ||
|
||||||
|
(github.event_name == 'push' && github.ref == 'refs/heads/master')) && 'publish' || 'check' }}
|
||||||
|
cancel-in-progress: >-
|
||||||
|
${{ github.ref != 'refs/heads/master' &&
|
||||||
|
!(github.event_name == 'workflow_dispatch' && inputs.publish) }}
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
package:
|
package:
|
||||||
|
|||||||
Reference in New Issue
Block a user