Giter VIP home page Giter VIP logo

my-bot-bot's Introduction

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

my-bot-bot's People

Contributors

ammar-ahmed-butt avatar renovate[bot] avatar z0al avatar dependabot[bot] avatar newnewb avatar caarlos0 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.