New Webhooks for Labels and Milestones

We're releasing new webhook events for labels and milestones. You'll automatically begin receiving these events if you have a webhook that is subscribed to wildcard events. As before, we continue to recommend listening for the actions in order to future-proof your code.

Several new events and actions were added, which are detailed below.

LabelEvent

  • created: sent when a label is created.
  • edited: sent when a label is edited, such as when it's renamed or the color is changed.
  • deleted: sent when a label is deleted.

MilestoneEvent

  • created: sent when a milestone is created.
  • closed: sent when a milestone is closed.
  • opened: sent when a milestone is opened.
  • edited: sent when a milestone is edited, such as when its description, due date, or title is changed.
  • deleted: sent when a milestone is deleted.

IssuesEvent

  • milestoned: sent when an issue is added to a milestone.
  • demilestoned: sent when an issue is removed from a milestone.

If you have any questions or feedback, please get in touch!