Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automate the creation & environment provisioning of new GH repository. #137

Open
2 tasks
zjrgov opened this issue Jan 13, 2025 · 0 comments
Open
2 tasks

Comments

@zjrgov
Copy link
Contributor

zjrgov commented Jan 13, 2025

Story

As a template user,
I would like to use a script that automatically creates a new repo & environments,
So that I can set up the project repo, environments, and environment variables with one command.

Solution

This builds on (or in some sense precedes) #134. Because the proposed scripts in #134 would fail without a GitHub repo and environments, it came up that it might be nice if some script could create the two prerequisites for the user.

The GitHub CLI does not currently provide a method for creating environments directly, but it does provide a handy gh api catch-all which is kind of like curl with all the necessary authorizations handled for you.

Tasks

Preview Give feedback

Acceptance Criteria

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

No branches or pull requests

1 participant