Skip to content

Commit

Permalink
lowercase branch name in URL generation (#94)
Browse files Browse the repository at this point in the history
Signed-off-by: Isaac Parker <[email protected]>
  • Loading branch information
parrotmac authored Oct 22, 2024
1 parent 6ebc919 commit 2edc1ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/pull_preview/github_sync.rb
Original file line number Diff line number Diff line change
Expand Up @@ -456,7 +456,7 @@ def instance_subdomain
components = []
components.push(deployment_variant) if deployment_variant
components.push(*["pr", pr_number]) if pr_number
components.push(branch.split("/").last)
components.push(branch.split("/").last.downcase)
Instance.normalize_name(components.join("-"))
end
end
Expand Down

0 comments on commit 2edc1ba

Please sign in to comment.