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

Add --repository parameter #31

Closed
wants to merge 1 commit into from

Conversation

chamburr
Copy link

Add parameter to specify repository instead of GitHub App installation ID for generating tokens.

Repository owner deleted a comment from cacrowley Mar 6, 2024
@Link-
Copy link
Owner

Link- commented Mar 6, 2024

@chamburr can you expand a little bit on the problem you're trying to solve with this?

@chamburr
Copy link
Author

chamburr commented Mar 6, 2024

@Link- I am running gh-token inside CI, and I want to get a token that can access some repository. Instead of finding and specifying the installation ID for each repository, this feature lets me pass the repository name as a parameter. In general, when there are multiple installations, the two-step process of finding the installation ID and then generating the token is simplified to one. Does that make sense?

@chamburr chamburr closed this by deleting the head repository Jul 15, 2024
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.

2 participants