chore(CI): use concurrency to cancel in-progress workflows

This commit is contained in:
zhanghongtong 2021-10-20 14:02:07 +08:00 committed by x1001100011
parent b0e579fcd8
commit 2b7e93f55f
6 changed files with 26 additions and 0 deletions

View File

@ -1,5 +1,9 @@
name: Cross build packages
concurrency:
group: build-${{ github.event_name }}-${{ github.ref }}
cancel-in-progress: true
on:
schedule:
- cron: '0 */6 * * *'

View File

@ -1,5 +1,10 @@
name: Build slim packages
concurrency:
group: slim-${{ github.event_name }}-${{ github.ref }}
cancel-in-progress: true
on:
push:
tags:

View File

@ -1,5 +1,10 @@
name: API Test Suite
concurrency:
group: apt-test-${{ github.event_name }}-${{ github.ref }}
cancel-in-progress: true
on:
push:
tags:

View File

@ -1,5 +1,9 @@
name: Functional Verification Tests
concurrency:
group: fvt-${{ github.event_name }}-${{ github.ref }}
cancel-in-progress: true
on:
push:
tags:

View File

@ -1,5 +1,9 @@
name: Release Upgrade Tests
concurrency:
group: relup-${{ github.event_name }}-${{ github.ref }}
cancel-in-progress: true
on:
push:
tags:

View File

@ -1,5 +1,9 @@
name: Run test case
concurrency:
group: test-${{ github.event_name }}-${{ github.ref }}
cancel-in-progress: true
on:
push:
tags: