Skip to content

Commit

Permalink
chore(ci): add global concurrency
Browse files Browse the repository at this point in the history
  • Loading branch information
ocavue committed Jul 15, 2022
1 parent a3f7019 commit 1df4cd3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ jobs:

create_github_release:
runs-on: ubuntu-latest
concurrency: global_concurrency_draft_release
concurrency: global_concurrency_release
needs:
- test
steps:
Expand Down Expand Up @@ -229,6 +229,7 @@ jobs:
release:
runs-on: ubuntu-latest
concurrency: global_concurrency_release
needs:
- build_website
- build_package
Expand Down Expand Up @@ -261,6 +262,7 @@ jobs:

deploy: # Production deployment
runs-on: ubuntu-latest
concurrency: global_concurrency_release
needs:
# make sure that `deploy` only depends on `release` because we don't want `deploy` to skip if `release` succeeded.
- release
Expand Down

0 comments on commit 1df4cd3

Please sign in to comment.