You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add explicit branch targeting to merge_group triggers (#52)
* Initial plan
* Fix merge queue CI by adding passing jobs for each event type
Co-authored-by: nhorton <204146+nhorton@users.noreply.github.com>
* Add branch specification to merge_group triggers and workflow_dispatch support
Co-authored-by: nhorton <204146+nhorton@users.noreply.github.com>
* Update workflow README to document branch targeting and workflow_dispatch
Co-authored-by: nhorton <204146+nhorton@users.noreply.github.com>
* Add branch specification to pull_request_target trigger in cla.yml
Co-authored-by: nhorton <204146+nhorton@users.noreply.github.com>
* Add explicit permissions to workflows for security
Co-authored-by: nhorton <204146+nhorton@users.noreply.github.com>
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: nhorton <204146+nhorton@users.noreply.github.com>
Co-authored-by: Noah Horton <noah@unsupervised.com>
All checks will pass in both PR and merge queue contexts (either by running or by being skipped).
58
73
74
+
**Note**: The explicit branch targeting in `merge_group` triggers is critical for workflows to run properly in the merge queue. Without this, GitHub may not trigger the workflows and they will remain in "expected" state.
if: github.event_name != 'merge_group' && ((github.event.comment.body == 'recheck' || github.event.comment.body == 'I have read the CLA Document and I hereby sign the CLA') || github.event_name == 'pull_request_target')
35
+
if: (github.event.comment.body == 'recheck' || github.event.comment.body == 'I have read the CLA Document and I hereby sign the CLA') || github.event_name == 'pull_request_target'
0 commit comments