Unverified Commit 696dcf3e authored by Wenhao Wu's avatar Wenhao Wu Committed by GitHub
Browse files

[Enhance] Cancel previous runs that are not completed (#1102)

parent 921ab012
...@@ -22,6 +22,10 @@ on: ...@@ -22,6 +22,10 @@ on:
- 'docs/**' - 'docs/**'
- 'docs_zh-CN/**' - 'docs_zh-CN/**'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs: jobs:
lint: lint:
runs-on: ubuntu-18.04 runs-on: ubuntu-18.04
......
...@@ -2,6 +2,10 @@ name: deploy ...@@ -2,6 +2,10 @@ name: deploy
on: push on: push
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs: jobs:
build-n-publish: build-n-publish:
runs-on: ubuntu-18.04 runs-on: ubuntu-18.04
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment