add interrupt for concurrent ci workflows(#2020)
@@ -20,6 +20,11 @@ on:
- enhance/**
- fix/**
+# This allows a subsequently queued workflow run to interrupt previous runs
+concurrency:
+ group: '${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }}'
+ cancel-in-progress: true
+
env:
TZ: "Asia/Shanghai"
