3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/nixos/modules/services/continuous-integration
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
..
buildbot nixos/*: literalDocBook -> literalMD 2022-08-27 19:18:29 +02:00
github-runner nixos/github-runners: support fine-grained personal access tokens 2022-10-19 13:50:34 +02:00
gocd-agent nixos/*: automatically convert option descriptions 2022-08-31 16:32:53 +02:00
gocd-server nixos/*: automatically convert option descriptions 2022-08-31 16:32:53 +02:00
hercules-ci-agent nixos/*: convert internal option descriptions to MD 2022-08-31 16:32:54 +02:00
hydra treewide: makeWrapper to nativeBuildInputs 2022-09-26 17:53:26 +03:00
jenkins
buildkite-agents.nix nixos/*: fix docbook deprecation notices 2022-09-10 18:23:13 +02:00
github-runner.nix Add comments to explain about the name defaults 2022-10-17 00:04:52 -07:00
github-runners.nix Use config name by default, falling back to attr name 2022-10-19 03:33:30 -07:00
gitlab-runner.nix nixos/gitlab-runner: Add gitlab-runner.clear-docker-cache service 2022-10-10 18:17:19 +01:00
hail.nix