Skip to content

Commit 9cdd617

Browse files
hackerkidshowell
authored andcommitted
secrets: Rename github_personal_access_token to gh_personal_access_token.
GitHub no longer allows prefixing the secret names with "github_".
1 parent ac3a2e6 commit 9cdd617

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ Now create the following 4 secrets. Use the credentials generated in the above s
4949
|zulip_organization_url | URL of your Zulip organization. |
5050
|zulip_bot_email | The email of the Zulip bot you created |
5151
|zulip_bot_key | API key of the Zulip bot you created |
52-
|github_personal_access_token | The GitHub personal access token you created |
52+
|gh_personal_access_token | The GitHub personal access token you created |
5353

5454

5555
### Step 4 - Configure the streams you want to index
@@ -105,7 +105,7 @@ jobs:
105105
zulip_organization_url: ${{ secrets.zulip_organization_url }}
106106
zulip_bot_email: ${{ secrets.zulip_bot_email }}
107107
zulip_bot_key: ${{ secrets.zulip_bot_key }}
108-
github_personal_access_token: ${{ secrets.github_personal_access_token }}
108+
github_personal_access_token: ${{ secrets.gh_personal_access_token }}
109109
```
110110

111111
The above file tells GitHub to run the `zulip-archive` action every 20 minutes. You can adjust the `cron` key to modify the schedule as you feel appropriate. If you Zulip organization history is very large (not the case for most users) we recommend to increase the cron period from running every 30 minutes to maybe run every 1 hour (eg `'0 * * * *'`). This is is because the initial archive run that fetches the messages for the first time takes a lot of time and we don't want the second cron job to start before finishing the first run is over. After the initial run is over you can shorten the cron job period if necessary.

0 commit comments

Comments
 (0)