You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,7 +21,7 @@ Generates dynamic documentation of all our GitHub Organizations and their descri
21
21
The application requires three environment variables to be set. You can create a `.env` file in the root directory of the project with the following content:
22
22
23
23
```env
24
-
export GITHUB_TOKEN=<Uses a PAT>#Assumes that all orgs a user is part of is an ORG that we own.
24
+
export GITHUB_TOKEN=<Uses a PAT>#Assumes that all orgs a user is part of is an ORG that we own. Permissions required: **full** `repo` scope and org `read:org` scope
25
25
export GETOUTLINE_DOCUMENT_ID=<This is usually at the end of the document in the URL of the document you want to update>
26
26
export GETOUTLINE_API_TOKEN=<Token is tied to a user account in GETOUTLINE>
logger.debug("Generating markdown for organizations.")
50
+
markdown_content="> This page is automatically generated. Any manual changes will be lost. See: https://github.com/GlueOps/getoutline-docs-update-github \n\n"
51
+
markdown_content="# Full list of GitHub Organizations\n\n"
52
+
markdown_content+="| Organization Name | Description |\n"
logger.debug("Generating markdown for organizations.")
67
-
markdown_content="> This page is automatically generated. Any manual changes will be lost. See: https://github.com/GlueOps/getoutline-docs-update-github \n\n"
68
-
markdown_content="# Full list of GitHub Organizations\n\n"
69
-
markdown_content+="| Organization Name | Description |\n"
0 commit comments