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

feature: allow providing runner registration token and disabling querying the API #188

Open
agaffney opened this issue Nov 15, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@agaffney
Copy link

Summary

This will allow someone to add a new runner via the Github UI to get the registration token, and then avoid needing to provide a PAT for their own Github account or have the role make any calls the Github API

Issue Type

Feature Idea

@agaffney agaffney added the enhancement New feature or request label Nov 15, 2023
@mackenzie-remote
Copy link

I can confirm that I was able to successfully register a repository runner using this role by going to settings on my repo, /settings/actions/runners -> hitting "New self-hosted runner" and using the token in the configure step with the env variable PERSONAL_ACCESS_TOKEN.

I did this by commenting out:
Get registration token (RUN ONCE) -> (got a 401 Bad Credentials).
Check currently registered runners for repo (RUN ONCE)

and any steps that referenced the now null registered_runners and registration variables.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants