Unverified Commit 709908a7 authored by Jiazhen Wang's avatar Jiazhen Wang Committed by GitHub
Browse files

[CI] Cancel previous runs that are not completed (#1537)

* [Impl] cancel previous runs that are not completed

* [Improve] use official method

* [Useless] just for test
parent 56e9f73c
......@@ -19,6 +19,10 @@ on:
- 'examples/**'
- '.dev_scripts/**'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
env:
MMCV_WITH_OPS: 1
......
......@@ -2,6 +2,10 @@ name: build_pat
on: push
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
env:
MMCV_WITH_OPS: 1
......
......@@ -2,6 +2,10 @@ name: lint
on: [push, pull_request]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
lint:
runs-on: ubuntu-18.04
......
......@@ -2,6 +2,10 @@ name: deploy
on: push
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build-n-publish:
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