zkSync-Community-Hub / community-code

A collaborative repository featuring community-contributed guides for developing on zkSync Era.
https://code.zksync.io
Apache License 2.0
5 stars 3 forks source link

chore: add concurrency rules to workflows #22

Closed itsacoyote closed 1 month ago

itsacoyote commented 1 month ago

Description

Add concurrency rules to workflows for staging and production deploy workflows. This cancels any currently running workflow when a new workflow is set to run. For example when two PRs are merged to main around the same time, one will cancel out the other and only one workflow is run to deploy. This makes it so that we don't have a queue of build and deploys to run, cutting down time and resources.

Fix yaml formatting errors with github issue templates. They do not list in Create Issues if format is incorrect.

github-actions[bot] commented 1 month ago

Visit the preview URL for this PR (updated for commit ccae4c2):

https://community-cookbook-staging--pr22-concurrency-rule-q3jahjpq.web.app

(expires Tue, 11 Jun 2024 15:35:10 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: 1b876338aafcf55b4a02f1877984e116731756b1