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

Lock Branch Validation #299

Merged
merged 4 commits into from
Aug 31, 2024
Merged

Lock Branch Validation #299

merged 4 commits into from
Aug 31, 2024

Conversation

GrantBirki
Copy link
Member

@GrantBirki GrantBirki commented Aug 31, 2024

This pull request does validation on branch names that are used for lock branches. Lock branch names are constructed from the environment which they are related to. For example, if you deploy to production then the production-branch-deploy-lock branch gets created to hold the lock. However, this currently does not work if an environment contains a space as git refs with spaces are rejected with a 422 error by the GitHub API. This pull request fixes that by translating branch names from some branch name to some-branch-name.

related: #298

@GrantBirki GrantBirki self-assigned this Aug 31, 2024
@GrantBirki GrantBirki merged commit a40c82b into main Aug 31, 2024
4 checks passed
@GrantBirki GrantBirki deleted the lock-branch-validation branch August 31, 2024 18:19
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