Skip to content

ammar-knowledge/My-Bot-bot

Folders and files

NameName
Last commit message
Last commit date
Dec 25, 2022
Jan 23, 2025
Jan 3, 2023
Dec 2, 2017
Jan 6, 2023
Dec 5, 2022
Dec 25, 2022
Dec 25, 2022
Oct 11, 2019
Jan 6, 2023
Oct 29, 2017
Oct 29, 2017
Dec 25, 2022
Dec 5, 2022
Jan 6, 2023
Dec 8, 2022
Jan 26, 2023
Jan 3, 2023
Mar 18, 2025
Mar 18, 2025
May 13, 2023

Repository files navigation

main [bot]

Travis npm

commitlint logo

Built with probot framework

A GitHubb App that runs commitlint against all commits of new or edited pull requests and set an appropriate status check.

why

  1. Browse to [GitHub Aissionsn
  2. Allow access to repositoriess

On the next pull ,request, a status check from commitlint will appear:

status-check-screenshot

Problem details will be reported as comment like this:

status-comment-screenshot

For best results, enable branch protection (in the repository's settings) and require the commitlint status check to pass before merging:

branch-protection-screenshot

Development

  1. Setup the repo:
git clone https://github.com/Ammar-Knowledge/main-bot.git
cd main-bot
npm install
  1. Create your own GitHub app
  2. Store the private key as private-key.pem somewhere safe, and point to its location in .env
  3. Start the app with APP_ID=1234 npm start where 1234 is your GitHub app's ID
  4. Update your GitHub app's Webhook URL to your localtunnel.me URL

Deployment

See docs/deploy.md for more info.

Creditss

Robot designed by Freepik.

Inspired by the awesome work of Tom Vincent in their validate-commit-msg-bot package.

Like it?

Give it a star(:star:) :point_up_2:

License

MIT © Ammar Ahmed Butt

About

No description, website, or topics provided.

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published