Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add github.token to actions/download-artifact
The addition of workflow_run.id in #67 wasn't enough. Tracing through the dorny/test-reporter code, I found that it was grabbing github.token as well. The actions/download-artifact README documentation now makes more sense: ```yaml # 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. # Optional. If unspecified, the action will download artifacts from # the current repo and the current workflow run. github-token: # The id of the workflow run where the desired download artifact was # uploaded from. If github-token is specified, this is the run that # artifacts will be downloaded from. # Optional. Default is ${{ github.run_id }} run-id: ``` Basically, I think both are needed here, based on what dorny/test-reporter appears to be doing.
- Loading branch information