Skip to content

feat(github): add POST /repos/:owner/:repo/generate for template repositories - #227

Closed
0xChathurinda wants to merge 1 commit into
vercel-labs:mainfrom
0xChathurinda:fix/github-generate-route
Closed

feat(github): add POST /repos/:owner/:repo/generate for template repositories#227
0xChathurinda wants to merge 1 commit into
vercel-labs:mainfrom
0xChathurinda:fix/github-generate-route

Conversation

@0xChathurinda

@0xChathurinda 0xChathurinda commented Sep 5, 2026

Copy link
Copy Markdown

No description provided.

…sitories

Creates a repository from a template the way GitHub's "Create a repository
using a template" endpoint does: the new repository starts with a single
parentless commit holding the template's files on the template's default
branch, or on every branch with include_all_branches. The response carries
template_repository, and the source must be flagged is_template, which the
repo seed config can now set.

Authorization mirrors the existing create routes: a user may generate under
their own account or an organization they belong to; a GitHub App
installation token may generate into the account it is installed on when it
holds administration: write.
@vercel

vercel Bot commented Sep 5, 2026

Copy link
Copy Markdown
Contributor

@0xChathurinda is attempting to deploy a commit to the Vercel Labs Team on Vercel.

A member of the Team first needs to authorize it.

@0xChathurinda
0xChathurinda deleted the fix/github-generate-route branch September 7, 2026 01:57
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