ci: fix CI concurrency grouping (#961)
Seems like we want `github.ref`, not `github.event.ref`, which is blank.
This commit is contained in:
parent
9303c1b52f
commit
d62bdc5cab
|
@ -33,7 +33,7 @@ env:
|
|||
MANPAGE_DIR: "target/tmp/bottom/manpage/"
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.event.ref }}
|
||||
group: ${{ github.workflow }}-${{ github.ref }}
|
||||
cancel-in-progress: ${{ github.event_name == 'pull_request' || github.repository != 'ClementTsang/bottom' }}
|
||||
|
||||
jobs:
|
||||
|
|
|
@ -14,7 +14,7 @@ env:
|
|||
CARGO_INCREMENTAL: 0
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.event.ref }}
|
||||
group: ${{ github.workflow }}-${{ github.ref }}
|
||||
cancel-in-progress: ${{ github.event_name == 'pull_request' || github.repository != 'ClementTsang/bottom' }}
|
||||
|
||||
jobs:
|
||||
|
|
|
@ -6,7 +6,7 @@ on:
|
|||
pull_request:
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.event.ref }}
|
||||
group: ${{ github.workflow }}-${{ github.ref }}
|
||||
cancel-in-progress: ${{ github.event_name == 'pull_request' || github.repository != 'ClementTsang/bottom' }}
|
||||
|
||||
jobs:
|
||||
|
|
Loading…
Reference in New Issue