Introduce a runRefType that represent the ref type of the Run (branch/tag/PR) Convert the webhook event type to the runRefType and use it to generate the run group.