1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-22 13:41:26 +00:00

nixos/github-runner: use types.str for name option

Forcing a `name` option to comply with a pattern which could also be
used as a hostname is probably not required by GitHub.
This commit is contained in:
Vincent Haupert 2021-03-29 00:24:36 +02:00
parent 9dcd2ec516
commit 193ac67ba3
No known key found for this signature in database
GPG key ID: A8B605E96F82B4E4

View file

@ -46,7 +46,7 @@ in
};
name = mkOption {
type = types.strMatching "^$|^[[:alnum:]]([[:alnum:]_-]{0,61}[[:alnum:]])?$";
type = types.str;
description = ''
Name of the runner to configure. Defaults to the hostname.