0 votes
in GitHub by
What is milestone webhook trigger event?

1 Answer

0 votes
by

milestone

Webhook event payloadActivity typesGITHUB_SHAGITHUB_REF
milestonecreated
closed
opened
edited
deleted
Last commit on default branchDefault branch

Note: More than one activity type triggers this event. For information about each activity type

Runs your workflow when a milestone in the workflow's repository is created or modified. For more information about milestones. If you want to run your workflow when an issue is added to or removed from a milestone, use the milestoned or demilestoned activity types for the issues event instead.

For example, you can run a workflow when a milestone has been opened or deleted.

on:
  milestone:
    types: [opened, deleted]
...