milestone
GITHUB_SHA
GITHUB_REF
created
closed
opened
edited
deleted
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.
milestoned
demilestoned
issues
For example, you can run a workflow when a milestone has been opened or deleted.
on: milestone: types: [opened, deleted]