3
0
Fork 0
forked from mirrors/nixpkgs

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.