Skip to content

Fix: correctly parse git remote origin urls for calling Octokit#1539

Merged
djmb merged 1 commit intobasecamp:mainfrom
miguno:issue-1538
Jun 12, 2025
Merged

Fix: correctly parse git remote origin urls for calling Octokit#1539
djmb merged 1 commit intobasecamp:mainfrom
miguno:issue-1538

Conversation

@miguno
Copy link
Contributor

@miguno miguno commented May 6, 2025

Fixes #1538.

Side note: I think @remote_url in the pre-deploy code is a misnomer, because it is not an actual URL. It should be the name for Octokit#combined_status's first parameter, which takes the form basecamp/kamal for a git remote url https://github.com/basecamp/kamal.git. I'd suggest @github_repo because Octokit names the first parameter repo, but I intentionally didn't rename @remote_url in this PR because other code might depend upon the current name.

@djmb djmb merged commit fd6ac4f into basecamp:main Jun 12, 2025
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.

pre-deploy hook: sample file fails to work because it parses git remotes incorrectly

2 participants