From 346ab056706898845f729a08789ab4ee3676dd00 Mon Sep 17 00:00:00 2001 From: Marco Lecheler Date: Fri, 6 Mar 2026 13:24:45 +0100 Subject: [PATCH] feat: add github_token input for setup-uv action Allow users to specify a custom GitHub token for the astral-sh/setup-uv action. Defaults to the standard github.token if not provided. This enables rate limit handling and access to private resources when needed. Signed-off-by: Marco Lecheler --- action.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/action.yml b/action.yml index 1b657d2..747359f 100644 --- a/action.yml +++ b/action.yml @@ -21,6 +21,10 @@ inputs: description: "The uv version to install (default: latest)" required: false default: 'latest' + github_token: + description: "GitHub token for authenticating with the GitHub API (default: github.token)" + required: false + default: ${{ github.token }} runs: using: composite steps: @@ -28,6 +32,7 @@ runs: - uses: astral-sh/setup-uv@eac588ad8def6316056a12d4907a9d4d84ff7a3b # v7.3.0 with: version: ${{ inputs.uv_version }} + github-token: ${{ inputs.github_token }} - run: | cd $GITHUB_ACTION_PATH \ && ./ct.sh \