Skip to content

Commit ab77bee

Browse files
jjbustamanteclaude
andauthored
Fix #2405: Add template parameter to GitHub issue URL (#2407)
When using 'pack buildpack register', the GitHub URL was missing the 'template=add-buildpack.md' parameter, causing GitHub to redirect to a template selection page and drop all pre-filled parameters. This fix adds the template parameter to ensure the correct issue template is used and all parameters are preserved. 🤖 Generated with [Claude Code](https://claude.ai/code) Signed-off-by: Juan Bustamante <bustamantejj@gmail.com> Co-authored-by: Claude <noreply@anthropic.com>
1 parent 6ae35dc commit ab77bee

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

pkg/client/register_buildpack.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ func (c *Client) RegisterBuildpack(ctx context.Context, opts RegisterBuildpackOp
6868
params := url.Values{}
6969
params.Add("title", issue.Title)
7070
params.Add("body", issue.Body)
71+
params.Add("template", "add-buildpack.md")
7172
issueURL.RawQuery = params.Encode()
7273

7374
c.logger.Debugf("Open URL in browser: %s", issueURL)

0 commit comments

Comments
 (0)