Skip to content

Commit 8ce69b3

Browse files
committed
docs: fix readme
1 parent 2642d47 commit 8ce69b3

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

.github/composite/docs/README.md

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,13 @@ jobs:
2121
- name: Checkout
2222
uses: actions/checkout@v4
2323

24+
- name: Get GitHub App Token
25+
id: github-app-token
26+
uses: glideapps/workflow-modules/[email protected]
27+
with:
28+
private_key: ${{ secrets.GLIDE_O_MATIC_PRIVATE_KEY }}
29+
repositories: glideapps/api-docs
30+
2431
- name: Copy files and create pull request
2532
uses: ./.github/composite/docs
2633
env:
@@ -60,14 +67,8 @@ jobs:
6067

6168
## Environment Variables
6269

63-
* **API_TOKEN_GITHUB** (required): A GitHub Personal Access Token with the following scopes:
64-
- `repo` - Full control of private repositories
65-
- `admin:org` (read:org) - Read organization membership
66-
- `write:discussion` (read:discussion) - Read discussions
67-
68-
See [Creating a Personal Access Token](https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token) for instructions.
70+
* **API_TOKEN_GITHUB** (required): a Github token which has permission to the repo. It is *not* reccomended to use a Personal Access Token with this action, but instead https://github.com/glideapps/workflow-modules/tree/github-app-token-v1.0.0/github-app-token.
6971

70-
Store this token as a repository secret and reference it in your workflow as shown in the example above.
7172

7273

7374
## Behavior Notes

0 commit comments

Comments
 (0)