dwsmith1983 opened a new issue, #7749: URL: https://github.com/apache/datafusion-comet/issues/7749
### Describe the bug Since #7482, `label_prs.yml` runs on `workflow_run` after `label_prs_trigger.yml` completes. The trigger runs on `pull_request`, and for a contributor whose fork runs need maintainer approval it ends as `action_required` and never completes on its own. So the labeler never starts, and the PR carries no type or area labels until someone clicks "Approve and run". For example, #7706's trigger run was created at 15:04 UTC on 2026-11-20 and completed at 21:44, after approval, and the labels arrived then. #7705, #7733, #7743, #7744, #7740 and #7742 have no labels, and each one's trigger run is `action_required`. Committers' PRs are labeled right away, since their runs need no approval. The labels are how a reviewer sees at a glance what a PR is about and finds the ones in their area to inspect or review. Drafts are hit hardest, because their runs are rarely approved until they are ready, so filtering by `area:*` misses them. ### Steps to reproduce Open a PR from a fork whose runs need approval, and check the PR's labels and the trigger run's status (`gh api "repos/apache/datafusion-comet/actions/runs?head_sha=<sha>"`). ### Expected behavior Type and path labels are applied when the PR is opened or pushed, as they were before #7482. ### Additional context The labeler checks out and runs nothing from the PR, so labeling before approval exposes nothing. One option is a `schedule` trigger on `label_prs.yml` (every 30 minutes, say) that labels open PRs whose trigger run is `action_required`. A scheduled run starts from the default branch with the repository token and needs no approval. It would reuse the existing lookup, `pr-type-label.mjs`, and `actions/labeler` with `pr-number`. ### Willingness to contribute I can contribute a fix for this bug independently -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
