Skip to content

Conversation

@GrantBirki
Copy link
Contributor

@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
@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.

2 participants