GithubHelp home page GithubHelp logo

tophat / commit-watch Goto Github PK

View Code? Open in Web Editor NEW
3.0 3.0 0.0 12.83 MB

Project has been moved to https://github.com/tophat/commit-utils

Home Page: https://github.com/tophat/commit-utils/tree/main/packages/commit-watch

License: Apache License 2.0

JavaScript 99.79% Shell 0.21%

commit-watch's People

Contributors

akeshk avatar allcontributors[bot] avatar anvargazizovth avatar lime-green avatar msrose avatar noahnu avatar renovate[bot] avatar sdcosta avatar semantic-release-bot avatar tophat-opensource-bot avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

commit-watch's Issues

Add support for config js file and cli args

Is your feature request related to a problem? Please describe.

Currently all config options are specified using environment variables.

Describe the solution you'd like

Support a commit-watch.config.js file and/or cli args to specify all options.

Describe alternatives you've considered

A ".json" file could work too, but can't be dynamically updated for "CI". Not worth supporting 4 different config methods.

Additional context

Env variables are messy, hard to set, and leak all over the place.

Update failure messages

Describe the bug

On commit watch failure, the status check is updated to say "Multiple commit lint errors, run "make lint-commit-messages" locally". This make command assumes you have such a command in your repo. It's not offered by commit watch at all.

To reproduce

Open a PR against a repo that runs commit watch and trigger a failure (bad commit).

Expected behavior

Either bake in the lint command and update the message, or remove the message and perhaps link to some documentation.

Commitwatch sometimes picks up merged PRs' commit messages and tries to format them

In some cases, CW will inexplicable pick up on commit messages from commits that are already merged in master. Since the commit message format isn't enforced beyond branch pushes, this breaks the formatting function as one would expect.

image

This problem is intermittent and couldn't be reliably reproduced, but it happens every once and again. This hints at a yet-unexplored gap in how CW builds the list of messages it'll lint.

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.