Skip to content

Commit 6a01a11

Browse files
Apply suggestions from code review
Co-authored-by: Roger Barker <[email protected]> Signed-off-by: Andrew Brandt <[email protected]>
1 parent 6a20521 commit 6a01a11

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

README.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,11 @@ fine-grained token with the following permissions:
2525

2626
- Read access to organization custom properties
2727

28+
### Repository Permissions
29+
30+
- Read access to Repository Metadata
31+
- Read and Write access to Repository contents
32+
2833
### Additional Information
2934

3035
- [GitHub API for custom property for an organization](https://docs.github.com/en/rest/orgs/custom-properties?apiVersion=2022-11-28#create-or-update-a-custom-property-for-an-organization)
@@ -37,7 +42,7 @@ fine-grained token with the following permissions:
3742

3843
| Name | Description | Required | Default |
3944
|------------------------------------|------------------------------------------------------------------------|----------|---------|
40-
| `token` | GitHub Personal Access Token (Fine-Grained with `Read` org scope) | ✅ Yes ||
45+
| `token` | GitHub Personal Access Token (Fine-Grained with: Organization custom properties `Read`, Repository contents `Read and Write` scope) | ✅ Yes ||
4146
| `overwrite-existing-file` | Boolean for choosing to overwrite `repo-properties.json`, if it exists | 🟥 No | `false` |
4247
| `dry-run-enabled` | Flag to dry-run the script, will not commit in repo. | 🟥 No | `false` |
4348
| `commit-author-name` | Author Name on the commit that will be created | ✅ Yes | - |

0 commit comments

Comments
 (0)