Add a .github/customizable-comments.yml configuration file to each repo. You can also
Customizable Comments also supports Probot Config, if you want to store your configuration files in a central repository. This allows you to share configurations between projects, and create an organization-wide configuration file by creating a repository named .github and file named customizable-comments.yml.
Configuration options
📒 Currently, this Probot App only supports pull_request.opened events.
I would be happy to add more, just submit a PR or Issue with what you'd find useful.
Built-in template vars
name
value
used when
$BRANCH
The branch name of the PR
pull_request
Custom template vars
You can configure your own variable replacements using the vars: block in the yml file. See the example below:
Example
vars: - name: $MY_CUSTOM value: my-valuepull_request: opened: template: | Here's a helpful URL based on the branch name: https://$BRANCH.something.example.com And here's my custom value: $MY_CUSTOM
The above will auto-reply with a comment like so:
Here's a helpful URL based on the branch name: https://the-branch.something.example.comAnd here's my custom value: my-custom
Local Development
# Install dependenciesnpm install# Run the botnpm run dev
Deploying as GCF ☁️
This Probot app supports deploying as a Google Cloud Function out of the box: