A GitHub App built with Probot that A workflows app
This app can auto reply pr or issue and auto distribution that to component owner
Create a file called workflows_app_config.yml in the .github directory, the bot will read the config file.
Get example info can see config.example.yml
Key | Type | Description | example |
---|---|---|---|
issueOpenedReply | string | auto reply when a issue opened | Thanks for opening this issue! |
prOpenedReply | string | auto reply when a pr opened | The ${preview} will be available after the CI is complete |
previewUrl | string | auto reply the project preview url | https://xxx-preview-${pull_num}.xx.com |
components | object | the components owner map | table: chenc |
# Install dependencies
pnpm install
# Run the bot
pnpm start
# 1. Build container
docker build -t workflows-app .
# 2. Start container
docker run -e APP_ID=<app-id> -e PRIVATE_KEY=<pem-value> workflows-app
If you have suggestions for how workflows-app could be improved, or want to report a bug, open an issue! We'd love all and any contributions.
For more, check out the Contributing Guide.
ISC © 2022 chenc [email protected]