Skip to content

Is it possible to trigger a workflow when someone adds / modifies / removes the label after pull request is created? #3882

Closed Answered by anbraten
meetatmoe asked this question in Request a Feature
Discussion options

You must be logged in to vote

Sure you could give it a try.

It's basically these steps:

  • handle issue, pr webhooks in the forges
  • add a new events to the code
    • would actually go for issue_created, issue_updated, issue_closed and pr_created, pr_updated, pr_closed (which already exists)
  • the current labels of an issue / pr could be easily set as sth like CI_ISSUE_LABELS

To keep the changes easy and small for the beginning go with your actual use-case only. Other things can be added easily later on when we follow this plan.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@meetatmoe
Comment options

@anbraten
Comment options

Answer selected by pat-s
@meetatmoe
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants