Skip to content

Commit

Permalink
Merge pull request #22 from zkSync-Community-Hub/concurrency-rule
Browse files Browse the repository at this point in the history
chore: add concurrency rules to workflows
  • Loading branch information
itsacoyote authored Jun 4, 2024
2 parents f740dae + ccae4c2 commit aa9219f
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 9 deletions.
5 changes: 1 addition & 4 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ description: File a bug report.
title: "[Bug]: "
labels: ["bug", "triage"]
assignees:
- @zkSync-Community-Hub/zksync-devrel
- zkSync-Community-Hub/zksync-devrel
body:
- type: markdown
attributes:
Expand All @@ -15,22 +15,19 @@ body:
label: Guide you're having trouble with
description: If this feature is related to a specific guide, please provide the link to the guide.
placeholder: https://code.community.com/guides/the-guide
value: ""
- type: textarea
id: what-happened
attributes:
label: What happened?
description: Also tell us, what did you expect to happen?
placeholder: Tell us what you see!
value: ""
validations:
required: true
- type: textarea
id: expected
attributes:
label: What did you expect to happen?
placeholder: Tell us what you expected!
value: ""
- type: textarea
id: environment
attributes:
Expand Down
4 changes: 1 addition & 3 deletions .github/ISSUE_TEMPLATE/feature_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ description: Is there a feature you would like to see in Code Community? Let us
title: "[Feature]: "
labels: ["feature", "triage"]
assignees:
- @zkSync-Community-Hub/zksync-devrel
- zkSync-Community-Hub/zksync-devrel
body:
- type: markdown
attributes:
Expand All @@ -15,14 +15,12 @@ body:
label: Description
description: Please provide a brief description of the feature you would like to see.
placeholder: Tell us what you would like to see!
value: ""
- type: textarea
id: rationale
attributes:
label: Rationale
description: Why do you think this feature would be beneficial to the community?
placeholder: Tell us why you think this feature would be beneficial!
value: ""
- type: checkboxes
id: terms
attributes:
Expand Down
3 changes: 1 addition & 2 deletions .github/ISSUE_TEMPLATE/new_guide_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ description: Use this form to request a guide you would like to see in Code Comm
title: "[Guide]: "
labels: ["guide", "triage"]
assignees:
- @zkSync-Community-Hub/zksync-devrel
- zkSync-Community-Hub/zksync-devrel
body:
- type: markdown
attributes:
Expand All @@ -15,7 +15,6 @@ body:
label: Description
description: Please provide a brief description of the guide you would like to see.
placeholder: Tell us what you would like to see!
value: ""
- type: checkboxes
id: terms
attributes:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/deploy-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ env:
HUSKY: 0
CI: true

concurrency:
group: production
cancel-in-progress: true

jobs:
build_and_deploy:
env:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/deploy-staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ env:
HUSKY: 0
CI: true

concurrency:
group: staging
cancel-in-progress: true

jobs:
build_and_deploy:
env:
Expand Down

0 comments on commit aa9219f

Please sign in to comment.