Skip to content

Commit

Permalink
chore(ci): set up concurrency settings
Browse files Browse the repository at this point in the history
  • Loading branch information
yifanwww committed Jul 31, 2023
1 parent 2bcd075 commit 89dbf40
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/regular.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ on:
- '!docs'
- '!docs/*'

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

jobs:
build:
timeout-minutes: 15
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ on:
pull_request:
types: [opened, reopened, synchronize]

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

jobs:
release:
runs-on: windows-latest
Expand Down

0 comments on commit 89dbf40

Please sign in to comment.