Skip to content

Commit

Permalink
Merge pull request #967 from weaveworks/965-fix-least-required-perms-doc
Browse files Browse the repository at this point in the history
docs: update least required permissions for a github api token
  • Loading branch information
yitsushi authored Sep 13, 2023
2 parents 2bd2169 + 304dfde commit e05d6b8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Tiltfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ k8s_resource('chart-tf-controller',
labels=["deployments"],
new_name='controller')

k8s_resource('chart-tf-controller-planner',
k8s_resource('chart-tf-controller-branch-planner',
labels=["deployments"],
new_name='branch-planner')

Expand Down
6 changes: 2 additions & 4 deletions docs/branch_planner/least-required-permissions.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,7 @@ any additional permissions.

For private repositories the following permissions are required:

* `Issues` with Read and Write access. This is required to list and read
comments for commands, and to create comments with the Plan output.
* `Pull requests` with Read-Only access. This is required to check Pull Request
changes.
* `Pull requests` with Read-Write access. This is required to check Pull Request
changes, list comments, and create or update comments.
* `Metadata` with Read-only access. This is automatically marked as "mandatory"
because of the permissions listed above.

0 comments on commit e05d6b8

Please sign in to comment.