-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Running the apply workflow example in a private repository results in the following error:
==> Repository: **redacted**
==> Artifact name: pgschema-plan-64
==> Local path: .
==> Workflow name: pgschema-multifile-plan.yml
==> Workflow conclusion: success
==> PR: 64
==> Commit: ...
==> Allow forks: false
Error: Resource not accessible by integration - https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-workflow
The download artifact action used in the example apply workflows seems to rely on listing workflow runs. As described in the documentation, unless the resources are public, the actions: read permission must be set.
I would suggest adding to both apply workflow permissions (single, multi):
actions: read # Required if repository is private
If you agree with this analysis, let me know and I can create a PR.
Metadata
Metadata
Assignees
Labels
No labels