mirror of
https://github.com/chatmail/core.git
synced 2026-04-05 15:02:11 +03:00
ci: do not run CI multiple times on the same branch
Especially for PRs, if the branch is updated multiple times, only the last commit should be tested.
This commit is contained in:
6
.github/workflows/ci.yml
vendored
6
.github/workflows/ci.yml
vendored
@@ -1,5 +1,11 @@
|
||||
name: Rust CI
|
||||
|
||||
# Cancel previously started workflow runs
|
||||
# when the branch is updated.
|
||||
concurrency:
|
||||
group: ${{ github.ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
push:
|
||||
|
||||
Reference in New Issue
Block a user