nixpkgs/nixos
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
..
doc Merge pull request #191922 from NukaDuka/karma 2022-10-18 21:10:04 +02:00
lib Merge pull request #196281 from hercules-ci/restore-nixos-test-dx 2022-10-18 11:38:37 +02:00
maintainers nixos/*: md-convert hidden plaintext options 2022-08-31 16:32:54 +02:00
modules nixos/github-runners: support fine-grained personal access tokens 2022-10-19 13:50:34 +02:00
tests Merge pull request #196477 from MatthewCroughan/mc/stateless-cups 2022-10-18 23:22:12 +02:00
COPYING
default.nix
README
release-combined.nix nixos/release-combined: Enable more jobs on aarch64-linux 2022-10-11 15:33:42 +02:00
release-small.nix nixos/release-small: Test uefi cdrom 2022-10-11 15:33:42 +02:00
release.nix nixos/release-combined: Build graphical ISOs for aarch64-linux 2022-10-11 15:33:41 +02:00

*** NixOS ***

NixOS is a Linux distribution based on the purely functional package
management system Nix.  More information can be found at
https://nixos.org/nixos and in the manual in doc/manual.