Skip to content

Commit

Permalink
Add concurrency to CD workflows.
Browse files Browse the repository at this point in the history
Signed-off-by: Yury-Fridlyand <[email protected]>
  • Loading branch information
Yury-Fridlyand committed Mar 6, 2024
1 parent 252b071 commit dd0d833
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/npm-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ on:
push:
tags:
- "v*.*"

concurrency:
group: npm-${{ github.head_ref || github.ref }}
cancel-in-progress: true

jobs:
publish-binaries:
name: Publish packages to NPM
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/pypi-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ on:
push:
tags:
- "v*.*"

concurrency:
group: pypi-${{ github.head_ref || github.ref }}
cancel-in-progress: true

jobs:
publish-binaries:
name: Publish packages to PyPi
Expand Down

0 comments on commit dd0d833

Please sign in to comment.