Skip to content

Commit

Permalink
ci: fix concurrency
Browse files Browse the repository at this point in the history
  • Loading branch information
Itsusinn committed Jan 18, 2024
1 parent 2977cb7 commit 2cb87e2
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/pre-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ on:
branches: [ master ]
paths-ignore: [ '*.md' ]

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

env:
SHORT_NAME: dc
CRATE_NAME: msgist-dc
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ on:
tags:
- "v*"

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

env:
SHORT_NAME: dc
CRATE_NAME: msgist-dc
Expand Down

0 comments on commit 2cb87e2

Please sign in to comment.