cancel the outdated action (#91)

pull/89/head
Zaida Zhou 2021-12-07 13:15:57 +08:00 committed by GitHub
parent d234738f88
commit 622cc8a7b1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 12 additions and 0 deletions

View File

@ -11,6 +11,10 @@ on:
- 'README.md'
- 'docs/**'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
test:
runs-on: ubuntu-18.04

View File

@ -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-latest

View File

@ -2,6 +2,10 @@ name: deploy
on: push
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
deploy:
runs-on: ubuntu-18.04