Skip to content

Commit

Permalink
ci: use concurrency to cancel previous workflow (#9468) (#9470)
Browse files Browse the repository at this point in the history
  • Loading branch information
ti-chi-bot committed Jul 4, 2022
1 parent 13c3cf0 commit e8201b9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@ name: ci

on: [pull_request]

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.event_name }}
cancel-in-progress: true

jobs:
tidb-check:
runs-on: ubuntu-latest
Expand Down

0 comments on commit e8201b9

Please sign in to comment.