🤖
Gotcha Bot A app to automate engineers projects
🤖 stop?
What can Gotcha, is a app and works on fired events. For added tiny print on a GitHub app, please evaluate right here.
The features of Gotcha are:
Featured Content Ads
add advertising here- Get sure the pull seek files from title is legit.
- Get sure the pull seek files from labels are legit.
- Get sure the pull seek files from assigners are legit.
- Get sure the pull seek files from reviewers are legit.
Gotcha implements the features as a test suite. For that reason fact, adding a brand new functionality for validation is terribly straightforward and functional.
The style to put in
GitHub app
First, traipse to your profile Settings → Developer Settings. Then plot a GitHub app called Gotcha
Salvage in the wanted knowledge to plot the app.
To check without web web hosting or exposing your application on the web, a suggestion is to exclaim https://smee.io
Featured Content Ads
add advertising hereSubsequent, allow the following permissions:
- Repository → Checks
- Repository → Points
- Repository → Pull requests
- Repository → Contents
- Occasions → Take a look at speed
- Occasions → Field commentary
- Occasions → Points
- Occasions → Pull seek files from
- Occasions → Pull seek files from review commentary
- Occasions → Pull seek files from review
It is price noting that the permissions listed are Gotcha’s default ones. Whenever you are now now not drawn to the utilization of some functionality or receive one other need, customise the permissions.
At final, effect the settings and “install” it to your profile.
Afterwards, generate a non-public key for the bot.
Gotcha Settings
Within the create folder, you can glean a file called config.yaml which is supposed to configure some features of Gotcha.
Featured Content Ads
add advertising here- In Structure, you can glean general Gotcha settings.
- In GitHub, you can glean general GitHub settings.
Structure:
Stage | Description | Model | Default |
---|---|---|---|
administration → permission | Customers who are allowed to plot instructions such as pull seek files from approval, test re-runs and others. The permissions listed below are one level above the repositories merchandise, so that they overlap the others. |
list(string) | None |
administration → permission → repositories | Customers with permissions on obvious repositories. | list(object) | None |
pullRequest → approveCommand | Show for approval of the PR by Gotcha. | string | lgtm |
pullRequest → runTestSuiteCommand | Show to re-speed the test suite. | string | speed testsuite |
pullRequest → mergeCommand | Show for merge of the PR by Gotcha. | string | merge |
pullRequest → mergeAndDeleteCommand | Show for merge and delete ref division of the PR by Gotcha. | string | merge and delete |
pullRequest → testSuite → namePattern | Layout (regex) that pull seek files from title must always observe. Default price is in step with Aged Commits. |
string(regex) | (?Pfeat|fix|refactor|style|docs|create|chore)(?P:) (?P.+)’ |
pullRequest → testSuite → reviewers | Private to receive reviewers on the pull seek files from. | bool | spurious |
pullRequest → testSuite → assignees | Private to receive assignees on the pull seek files from. | bool | magnificent |
pullRequest → testSuite → labels | Private to receive labels on the pull seek files from. | bool | magnificent |
Github:
Stage | Description | Model | Default |
---|---|---|---|
appId | GitHub App Identity. | int | None(required) |
organization | Name of the organization that Gotcha will seemingly be effect in. | string | None |
person | Name of the person that Gotcha will seemingly be effect in. | string | None |
webhookSecret | Webhook secret. | string | None(required) |
privateKeyLocation | Non-public key narrate. | string | None |
privateKey | Non-public key price. | string | None |
events | Checklist of events that Gotcha will take ticket to. | list(string) | mission pull_request pull_request_review_comment pull_request_review check_run |
Contributing
Gotcha is an start source bot made to facilitate builders’ daily lives. Thus, all features are start to be modified and/or added.
Please feel free to again!
For added tiny print, see our files.