Skip to content

🆕 After install, set status on existing pull requests #98

Closed

Description

@gr2m

follow up for #97 (comment)

Currently the app does not set a status on existing pull requests. But I think it should. What’s important to consider is to throttle the requests, see https://developer.github.com/v3/guides/best-practices-for-integrators/

Activity

  1. gr2m commented on Oct 24, 2018

    @gr2m
    CollaboratorAuthor

    Before working on this I need to make sure that we have propper queueing in place for the requests to avoid hitting abuse rate limits

  2. baiitulaman commented on Nov 8, 2018

    @baiitulaman
  3. gr2m commented on May 31, 2019

    @gr2m
    CollaboratorAuthor

    We have proper request throttling now, so let's do this.

    Here is my plan:

    • Start listening to both installation event and installation_repositories event.
    • When action is deleted, just log
    • When action is created, update all open pull requests for all repositories sent in the event payload (.repositories or .repositories_added keys)
    • When action is new_permissions_accepted, update all open pull requests (for upgrades such as commit status -> check runs). The event payload has no .repositories key so we have to retrieve it first
  4. wipbot commented on Jun 1, 2019

    @wipbot

    🎉 This issue has been resolved in version 4.2.0 🎉

    The release is available on GitHub release

    Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions