From ba632451ef02786770be9d429b584a6daaa2c320 Mon Sep 17 00:00:00 2001 From: Christoph Reiter Date: Thu, 23 Mar 2023 11:48:58 +0100 Subject: [PATCH] README: document the env vars --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index 61bb020..ab7775c 100644 --- a/README.md +++ b/README.md @@ -42,3 +42,9 @@ subcommands: clear-failed Clear the failed state for packages clean-assets Clean up GHA assets ``` + +## Configuration + +* `GITHUB_TOKEN` (required) - a GitHub token with write access to the current repo. +* `GITHUB_TOKEN_READONLY` (optional) - a GitHub token with read access to the current repo. This is used for read operations to not get limited by the API access limits. +* `GITHUB_REPOSITORY` (optional) - the path to the GitHub repo this is uploading to. Used for deciding which things can be built and where to upload them to. Defaults to `msys2/msys2-autobuild`.