From 2e6b2db69307849fdfdb51759676cf9cb19deadd Mon Sep 17 00:00:00 2001 From: Anton Mostovoy Date: Fri, 17 May 2024 22:38:51 -0500 Subject: [PATCH] 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` --- docs/dependency-submission.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/dependency-submission.md b/docs/dependency-submission.md index 925d376..de17b86 100644 --- a/docs/dependency-submission.md +++ b/docs/dependency-submission.md @@ -367,6 +367,7 @@ on: types: [completed] permissions: + actions: read contents: write jobs: