ci: add cancel-in-progress behavior for main test CI workflow

Make sure that only the latest enqueued workflow is running for any given PR
and/or branch.

Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
This commit is contained in:
Andrii Nakryiko 2021-07-22 23:19:46 -07:00
parent 6e6f18ac5d
commit 0db006d28e

View File

@ -6,6 +6,9 @@ on:
schedule:
- cron: '0 18 * * *'
concurrency:
group: ci-test-${{ github.head_ref }}
cancel-in-progress: true
jobs:
vmtest: