Is using the Personal Access Token the only way to get the runner token to register the self-hosted runner at the organization level?
michaelsync opened this issue · comments
Can we use the github app or oauth app instead of github PAT to generate the RUNNER_TOKEN? The problem with PAT is that none of our Github organization admins want to give the PAT.
ACCESS_TOKEN | A github PAT to use to generate RUNNER_TOKEN dynamically at container start. Not using this requires a valid RUNNER_TOKEN
To be honest I don't know. You're welcome to try. If you want to ask in the upstream actions repo and follow back with info I'll update the docs or code with your findings
Thanks, I am not sure what the upstream actions repo is. But I did ask around here.
- https://github.community/t/can-we-use-the-github-app-or-oauth-app-instead-of-github-pat-to-generate-the-runner-token/146505
- https://stackoverflow.com/questions/65090500/how-to-use-the-github-app-oauth-app-to-register-the-github-action-self-hosted-ru
- SanderKnape/github-runner#15
I will update you if I got some info. Thanks.
upstream is here: https://github.com/actions/runner
Im going to close only in lieu of an answer. If you find anything upstream Im welcome to work with you on something here.