Run CI only on latest PR commit (#920)
* Run CI only on latest PR commit * CI of previous commit should be cancelled... * Revert
This commit is contained in:
parent
cf124014e8
commit
87a9eb9d15
4
.github/workflows/rust.yml
vendored
4
.github/workflows/rust.yml
vendored
@ -57,6 +57,10 @@ on:
|
||||
- master
|
||||
- 0.2.x
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
|
||||
cancel-in-progress: true
|
||||
|
||||
env:
|
||||
CARGO_TERM_COLOR: always
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user