Closed
Description
The Readme says
Support for actions/upload-artifact@v4 utilizes the GitHub REST API, and requires a permissive GITHUB_TOKEN ...
I'm assuming from GITHUB_TOKEN
(environment variable) and from the current implementation that the token should be read automatically.
The most likely reason it is not however, is that the token is both required and has default
set:
Lines 9 to 10 in 3f83cd6
I ran into this recently in hashicorp/terraform-ls#1582
Even after adding the following to the workflow
permissions:
actions: write
I was still getting the following error:
Error: Error: Parameter token or opts.auth is required
(which also happened to be ignored due to #20)
Metadata
Metadata
Assignees
Labels
No labels