Git Product home page Git Product logo

Comments (6)

daneah avatar daneah commented on August 29, 2024 1

@OrkoHunter that's great! I think the main impetus for commit statuses is that they can be enforced natively in GitHub to disallow merging if a status is failing, etc. #17 reduces the noise, however, which is great.

from pep8speaks.

OrkoHunter avatar OrkoHunter commented on August 29, 2024

Hi @MrKiven,
Thank you for this. I agree for anything to make the bot less and less noisy! I have a question though, does the commit status enforce green/red tick on the PR or it's just a comment? I'm sorry I did not look it through.

from pep8speaks.

daneah avatar daneah commented on August 29, 2024

I was about to open an issue with this very suggestion! @OrkoHunter: The commit status would create a green/red tick on the PR, and the nice thing about that is that repository owners can choose to enforce this status check on all pull requests (unenforced by default).

The absolute cleanest way to do this would be to store the linting results on an external URL that can then be supplied in the status via target_url. Then you could do away with the PR comments completely. This obviously necessitates a great deal more work, so opting for the combined comment + status approach for now seems reasonable and is at least a step in that direction.

from pep8speaks.

OrkoHunter avatar OrkoHunter commented on August 29, 2024

@daneah @MrKiven I tried to hack on the commit status feature. The only limitation to it is that there should be push access to the bot for making the status comment.

from pep8speaks.

daneah avatar daneah commented on August 29, 2024

@OrkoHunter oh, that could potentially be a blocker for some...didn't realize that was necessary.

from pep8speaks.

OrkoHunter avatar OrkoHunter commented on August 29, 2024

I think #17 solves this issue partially :)

from pep8speaks.

Related Issues (20)

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.