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
Fix cla-check job not reporting status in merge queue
The cla.yml workflow had two separate jobs with different names:
- merge-queue-pass: ran in merge queue
- cla-check: ran for PRs only
When branch protection requires 'cla-check' to pass, the merge queue
would wait indefinitely because only 'merge-queue-pass' was being
reported as a status, not 'cla-check'.
Consolidate into a single 'cla-check' job that runs for all event
types, using step-level conditions to skip the actual CLA work in
merge queue context (since CLA is already verified at PR time).
# For PRs and issue comments: run the actual CLA check
35
34
- name: "CLA Assistant"
36
-
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'
35
+
if: github.event_name != 'merge_group' && github.event_name != 'workflow_dispatch' && ((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