chore(CI): use concurrency to cancel in-progress workflows
This commit is contained in:
parent
4d27d371eb
commit
46a794e38b
|
@ -1,5 +1,9 @@
|
||||||
name: Cross build packages
|
name: Cross build packages
|
||||||
|
|
||||||
|
concurrency:
|
||||||
|
group: build-${{ github.event_name }}-${{ github.ref }}
|
||||||
|
cancel-in-progress: true
|
||||||
|
|
||||||
on:
|
on:
|
||||||
schedule:
|
schedule:
|
||||||
- cron: '0 */6 * * *'
|
- cron: '0 */6 * * *'
|
||||||
|
|
|
@ -1,5 +1,10 @@
|
||||||
name: Build slim packages
|
name: Build slim packages
|
||||||
|
|
||||||
|
concurrency:
|
||||||
|
group: slim-${{ github.event_name }}-${{ github.ref }}
|
||||||
|
cancel-in-progress: true
|
||||||
|
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
tags:
|
tags:
|
||||||
|
|
|
@ -1,5 +1,10 @@
|
||||||
name: API Test Suite
|
name: API Test Suite
|
||||||
|
|
||||||
|
concurrency:
|
||||||
|
group: apt-test-${{ github.event_name }}-${{ github.ref }}
|
||||||
|
cancel-in-progress: true
|
||||||
|
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
tags:
|
tags:
|
||||||
|
|
|
@ -1,5 +1,9 @@
|
||||||
name: Functional Verification Tests
|
name: Functional Verification Tests
|
||||||
|
|
||||||
|
concurrency:
|
||||||
|
group: fvt-${{ github.event_name }}-${{ github.ref }}
|
||||||
|
cancel-in-progress: true
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
tags:
|
tags:
|
||||||
|
|
|
@ -1,5 +1,9 @@
|
||||||
name: Release Upgrade Tests
|
name: Release Upgrade Tests
|
||||||
|
|
||||||
|
concurrency:
|
||||||
|
group: relup-${{ github.event_name }}-${{ github.ref }}
|
||||||
|
cancel-in-progress: true
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
tags:
|
tags:
|
||||||
|
|
|
@ -1,5 +1,9 @@
|
||||||
name: Run test case
|
name: Run test case
|
||||||
|
|
||||||
|
concurrency:
|
||||||
|
group: test-${{ github.event_name }}-${{ github.ref }}
|
||||||
|
cancel-in-progress: true
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
tags:
|
tags:
|
||||||
|
|
Loading…
Reference in New Issue