Giter Club home page Giter Club logo

Comments (2)

bluekeyes avatar bluekeyes commented on August 30, 2024

This would be nice (and policy-bot has the same issue), but detecting when the bot is enabled is slightly involved. If you opt-in specific repositories via the GitHub App settings, we can get webhooks for that. But for places where the app is enabled on a full organization, I think we have to:

  1. Listen for push events on all repositories
  2. For every event, check to see if a bulldozer.yml file was created by that push
  3. If it was, evaluate all open PRs (or only PRs targeting the branch that was updated)

We already do some of that to support PR updates, but I'm not sure we want to add more API calls on an on-going basis for a relatively rare event. Maybe clarifying this behavior in the docs is enough?

from bulldozer.

iamdanfox avatar iamdanfox commented on August 30, 2024

I think your suggestion of watching the firehose of push events sounds like a pretty good long term solution, if the server can keep up! Don't think adding documentation will stop people from coming and asking us why bulldozer isn't working yet tbh :/

from bulldozer.

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.