Request: Webhook event for label changes #3131
Travis Blasingame opened 1 month ago

We have a workflow where the labels are part of knowing what needs to be done. Simple things like "Testing Completed". I want to trigger actions based on when this happens, but there is no webhook event tied to changing the labels.

Is this something that could be added? It would be a huge help and clean up a lot of code and process.

Thanks!

  • Robin Shen commented 1 month ago

    What label change events you are interested in? Is it label definitions, or labels for a build/PR/project?

  • Travis Blasingame commented 1 month ago

    For our workflow its the pull request. I originally thought it would qualify as a change event on the pull request, but it does not. Our exact flow is that the developer creates the pull request, 4 builds kick off. One of those builds creates a test env for the code. Once the developer has tested the code in that env, they add a "Testing Completed" label. At that point, the reviewers are expected to start their code review.

    In order to kick off that last step, I tell them to just make another edit to the pull request. Update the title, add a comment, etc. If there was a PullRequestChanged that showed labels were modified, that would be enough to work with. As it stands, I have tried enabling every form of webhook and seen no events at all when the labels are changed (added or removed or both).

  • OneDev commented 1 month ago

    State changed as build OD-8519 is successful

  • OneDev changed state to 'Closed' 1 month ago
    Previous Value Current Value
    Open
    Closed
1/1
Type
Enhancement
Priority
Normal
Assignee
Labels
No labels
Issue Votes (2)
Watchers (3)
Reference
OD-3131
Please wait...
Connection lost or session expired, reload to recover
Page is in error, reload to recover