From 9a75fdfb8f26039e2058a5d81a09ea89661c7a40 Mon Sep 17 00:00:00 2001 From: matejskubic <839965+matejskubic@users.noreply.github.com> Date: Wed, 6 Aug 2025 15:24:51 +0200 Subject: [PATCH 1/2] README - clarify token permission GitHub token for https://docs.github.com/en/rest/actions/artifacts?apiVersion=2022-11-28#list-workflow-run-artifacts > The fine-grained token must have the following permission set: "Actions" repository permissions (read) --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 3258a0d..2d1286a 100644 --- a/README.md +++ b/README.md @@ -96,6 +96,7 @@ You are welcome to still raise bugs in this repo. # The GitHub token used to authenticate with the GitHub API. # This is required when downloading artifacts from a different repository or from a different workflow run. + # Required permission for the token: actions: read # Optional. If unspecified, the action will download artifacts from the current repo and the current workflow run. github-token: From 37a776c0d46d8d04553de556913b311c426dfb6e Mon Sep 17 00:00:00 2001 From: matejskubic <839965+matejskubic@users.noreply.github.com> Date: Wed, 6 Aug 2025 15:31:12 +0200 Subject: [PATCH 2/2] Update README.md improved wording Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index a9bd807..a0e0c07 100644 --- a/README.md +++ b/README.md @@ -108,7 +108,7 @@ You are welcome to still raise bugs in this repo. # The GitHub token used to authenticate with the GitHub API. # This is required when downloading artifacts from a different repository or from a different workflow run. - # Required permission for the token: actions: read + # Required token permission: actions (read) (when downloading from a different repository or workflow run) # Optional. If unspecified, the action will download artifacts from the current repo and the current workflow run. github-token: