summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Hoang <enzime@users.noreply.github.com>2024-12-07 13:08:04 +1100
committerMichael Hoang <enzime@users.noreply.github.com>2024-12-07 13:08:55 +1100
commit8752b6ae3c0d6b44ca4ef28e50503f8efcec0096 (patch)
tree6a8995300a47d9ad9847c66347af19755b232730
parent22cde06f497b97cbab4186292f9fd82487bbfecc (diff)
github-runner: add instructions for triggering a runner registration
-rw-r--r--modules/services/github-runner/options.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/services/github-runner/options.nix b/modules/services/github-runner/options.nix
index 7508434..5152cc4 100644
--- a/modules/services/github-runner/options.nix
+++ b/modules/services/github-runner/options.nix
@@ -90,6 +90,9 @@ in
Changing this option or the `tokenFile`’s content triggers a new runner registration.
+ You can also manually trigger a new runner registration by deleting
+ {file}`/var/lib/github-runners/<name>/.runner` and restarting the service.
+
We suggest using the fine-grained PATs. A runner registration token is valid
only for 1 hour after creation, so the next time the runner configuration changes
this will give you hard-to-debug HTTP 404 errors in the configure step.