Skip to content

Expand pull request action triggers for review modeΒ #418

@ltamrazov

Description

@ltamrazov

Currently review mode only triggers when a pull request is opened, synced, or reopened:

const allowedActions = ["opened", "synchronize", "reopened"];

It would be great if allowed actions were expanded to more natural assignment:

  • labeled
  • review_requested

review_requested is maybe a bit more questionable since it requires a user, but could work similar to assigneee_triggerr.

However the actions already support label_trigger but it just gets bypassed with the early check as far as I can tell.

The use case is to assign only certain reviews for claude and only do it when the PR is ready. We can achieve that through a PR comment, but label is more natural and has the advantage of being trackable and filterable.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestp3Minor bug or general feature request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions