Vincent Haupert
|
ea8cf2e486
|
nixos/github-runners: support fine-grained personal access tokens
Add support for GitHub's new fine-grained personal access tokens [1]. As
opposed to the classic PATs, those start with `github_pat_` instead of
`ghp_`.
Make sure to use a token which has read and write access to the
"Administration" resource group [2] to allow for registrations of new
runners.
[1] https://github.blog/2022-10-18-introducing-fine-grained-personal-access-tokens-for-github/
[2] https://docs.github.com/en/rest/overview/permissions-required-for-github-apps#administration
|
2022-10-19 13:50:34 +02:00 |
|
Tom McLaughlin
|
0b67081ad8
|
Cherry-pick 499748b
|
2022-10-11 06:10:11 -06:00 |
|
Tom McLaughlin
|
b744fee880
|
Re-add DynamicUser = true per review discussion
|
2022-10-11 06:04:25 -06:00 |
|
Tom McLaughlin
|
327e05c382
|
Get rid of DynamicUser flag
|
2022-10-11 06:04:25 -06:00 |
|
Tom McLaughlin
|
998083f2ad
|
github-runner: configurable user, environment, service overrides + multiple runners
|
2022-10-11 06:04:21 -06:00 |
|