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 GitHub
parent d4d72c9934
commit 2e6b2db693
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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