Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: add concurrency rules to workflows #22

Merged
merged 3 commits into from
Jun 4, 2024
Merged

Conversation

itsacoyote
Copy link
Contributor

@itsacoyote itsacoyote commented Jun 4, 2024

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.

@itsacoyote itsacoyote requested a review from a team as a code owner June 4, 2024 15:11
Copy link

github-actions bot commented Jun 4, 2024

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

Copy link

@MexicanAce MexicanAce left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@itsacoyote itsacoyote merged commit aa9219f into staging Jun 4, 2024
7 checks passed
@itsacoyote itsacoyote deleted the concurrency-rule branch June 4, 2024 16:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants