I have a workflow that triggers on
pull_request. I trigger on
unlabeled actions along with the other default ones. This is done so our “do not merge” labels can be applied and unapplied, having it properly gate the merge.
What I have discovered is that if choose to create a “New Pull Request” and add a label prior to pressing “Create Pull Request” a trigger will occur for
labeled. I would ideally like to ignore any labels until after “Create Pull Request” has been pressed. It does not look there is a way to detect this.
labeled occurs before “Create Pull Request” has been pressed. After “Create Pull Request”, the trigger for
opened still has a
Is there anyway to detect when labels are added or removed prior to Create Pull Request?