Skip to content

Latest commit

 

History

History
44 lines (27 loc) · 1.64 KB

README.md

File metadata and controls

44 lines (27 loc) · 1.64 KB

Debezium GitHub Bot

Powered by

This project uses Quarkus, the Supersonic Stubatomic Java Framework.

If you want to learn more about Quarkus, visit its website: https://quarkus.io/.

Specifically, most of the GitHub-related features in this bot are powered by the quarkus-github-app extension.

Features

This bot checks various contribution rules on pull requests submitted to Debezium projects on GitHub, and notifies the pull request authors of any change they need to work on.

This includes:

  • Basic formatting of the pull request: at least two words in the title, ...
  • Proper referencing of related JIRA tickets: the ticket key must be mentioned in the PR description.
  • Lists associated JIRA ticket URLs in the comments based on the keys found in title and commits.
  • Etc.

Configuration

Enabling the bot in a new repository

You will need admin rights in the Debezium organization.

Go to the installed application settings and add your repository under "Repository access".

Contributing

Always test your changes locally before pushing them.

You can run the bot locally by:

  1. Registering a test instance of the GitHub application on a fake, "playground" repository as explained here.
  2. Adding an .env file at the root of the repository, as explained here.
  3. Running ./mvnw quarkus:dev.