add missing permission for downloading dependency graph artifact

per https://docs.github.com/en/rest/actions/artifacts?apiVersion=2022-11-28#list-workflow-run-artifacts, `actions: read` is required. Without it the action fails after logging `Fetching artifact list for workflow ` due to `Error: HttpError: Resource not accessible by integration`
This commit is contained in:
Anton Mostovoy 2024-05-17 22:38:51 -05:00 committed by Daz DeBoer
parent 775b4d10d7
commit af6e576724

View file

@ -367,6 +367,7 @@ on:
types: [completed] types: [completed]
permissions: permissions:
actions: read
contents: write contents: write
jobs: jobs: