Skip to content

Conversation

@zetter-rpf
Copy link
Contributor

I recently changed our github branch setting to allow merges without the branch being up to date with main as this made merging branches harder and take more time. This increases the risks of test failing on main due to behaviour conflicts after merging.

Because of this, it would be safer to block deploys if the tests fail.

I've decided not to have this check to the deploy branch job as it's helpful to get this deployed and usable on a PR even if there are some errors in the build.

I recently changed our github branch setting to allow merges without the branch being up to date with main as this made merging branches harder and take more time. This increases the risks of test failing on main due to behaviour conflicts after merging.

Because of this, it would be safer to block deploys if the tests fail.

I've decided not to have this check to the deploy branch job as it's helpful to get this deployed and usable on a PR even if there are some errors in the build.
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Updates the CI/CD GitHub Actions workflow so that staging deployments from main are gated by successful CI checks, reducing the risk of deploying a broken build after merging branches that may not be up-to-date with main.

Changes:

  • Add job dependencies so deploy-main waits for lint, test, and test-cypress to complete successfully before deploying to staging.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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.

1 participant