Define the type of activity that will trigger a workflow run.
Most GitHub events are triggered by more than one type of activity.
For example, the label is triggered when a label is created, edited, or deleted.
The types keyword enables you to narrow down activity that causes the workflow to run.
When only one activity type triggers a webhook event, the types keyword is unnecessary.
Allows workflows to be reused by other workflows.