mirror of
https://github.com/clash-verge-rev/clash-verge-rev
synced 2025-05-05 06:03:45 +08:00
ci(alpha): avoid race by cancel non-latest concurrent runs (#1213)
This commit is contained in:
parent
4ab507fd43
commit
19b6f78c8a
4
.github/workflows/alpha.yml
vendored
4
.github/workflows/alpha.yml
vendored
@ -9,6 +9,10 @@ permissions: write-all
|
||||
env:
|
||||
CARGO_INCREMENTAL: 0
|
||||
RUST_BACKTRACE: short
|
||||
concurrency:
|
||||
# only allow per workflow per commit (and not pr) to run at a time
|
||||
group: "${{ github.workflow }} - ${{ github.head_ref || github.ref }}"
|
||||
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
|
||||
|
||||
jobs:
|
||||
alpha:
|
||||
|
Loading…
x
Reference in New Issue
Block a user