Skip to content

parsebot: Configuration

qedk edited this page Aug 24, 2020 · 3 revisions

parsebot relies on the config.json file inside config/ to determine which pages need to be parsed, specifically the ideas key. Keep in mind that this key is modifiable via goodbot's config command on Zulip. The bot also requires an environment variable named gitpat which is the GitHub personal access token, to make pull requests with the parsebot GitHub account.

export gitpat = <GitHub PAT>
# on Windows:
set gitpat = <GitHub PAT>

By default, the bot keeps a copy of projects.json outside version control and automatically creates and deletes the parsebot branch once before pull requests are created and after they are closed respectively.