Skip to content

Commit

Permalink
ci: cancel same in-progress workflow (#6127)
Browse files Browse the repository at this point in the history
  • Loading branch information
ydcjeff authored Dec 17, 2021
1 parent b70a4f8 commit 85986f5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ on:
pull_request:
workflow_dispatch:

concurrency:
group: ${{ github.workflow }}-${{ github.event.number || github.sha }}
cancel-in-progress: true

jobs:
build:
runs-on: ${{ matrix.os }}
Expand Down

0 comments on commit 85986f5

Please sign in to comment.