Skip to content

Commit

Permalink
ci: add concurrency check
Browse files Browse the repository at this point in the history
  • Loading branch information
tanishqmanuja committed Jan 11, 2024
1 parent 7962b7a commit 1f42886
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,12 @@ on:
- "docs/**"
- "README.md"

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

jobs:
release:
build:
permissions:
contents: write

Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ on:
- minor
- major

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

jobs:
release:
permissions:
Expand Down

0 comments on commit 1f42886

Please sign in to comment.