Skip to content

Branch deployment workflow in GitHub encounters 403 errors when trying to read/write comments in PRs #30233

Discussion options

You must be logged in to vote

These can be due to a permissions issue that the Dagster Cloud GitHub app integration has when it's operating within a repo that has Organization scopes rather than an individual user's repo scope where its default permissions seem to work out-of-the-box.

A solution is to specify the granular permissions within the GitHub Action workflow file:

permissions:
  pull-requests: write
  contents: read

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by garethbrickman
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
type: troubleshooting Related to debugging and error messages area: branch-deployments Related to Dagster+ Branch Deployments
1 participant