ci(labels): checkout before area labeler #969
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/969"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from boykopovar/AnyPS5. Originally posted by Saibamen on 2026-10-06T20:45:26Z.
What
actions/labelerwhen labeling open PRs, so.github/labeler.ymlis read from the runner instead of being fetched from the API once per PR in the batch.Scheduled Area labels jobs were taking several minutes with hundreds of open PRs; the labeler step logged
The configuration file (path: .github/labeler.yml) was not found locally, fetching via the apion every PR (example: actions run 37502653127).Tested
Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed in TechnicalDebt.mdfiles or images added to the repository (attach them to this PR)Imported from boykopovar/AnyPS5. Originally posted by adriadam10 on 2026-10-08T05:24:01Z.
Review: CHANGES_REQUESTED
Thanks. The checkout before
actions/labelerlooks right (samecheckout@v7as the other workflows). Requests:labels.yml:9: the new.github/labeler.ymlpath trigger does nothing useful.labels.ymlonly creates/updates labels withgh labeland never readslabeler.yml; the per-PR labeling is done byarea-labels.yml. Please drop it.conflict-label.yml:21:secrets.GITHUB_TOKEN→github.tokenis a no-op (same token) and unrelated to the labeler speed-up. Please drop it (one topic per PR).workflow_dispatchfrom this branch and attach the run link, showing that theconfiguration file ... was not found locally, fetching via the apilines are gone and the duration vs. a scheduled run.Remaining change after that: the checkout step in
area-labels.yml.Imported from boykopovar/AnyPS5. Originally posted by Saibamen on 2026-10-08T14:10:13Z.
Fixed after code review
https://github.com/Saibamen/AnyPS5/actions/runs/37790115892/job/113354971342
Imported from boykopovar/AnyPS5. Originally posted by oneandonlydean on 2026-10-09T09:21:50Z.
The
conventionscheck fails on the unticked template checklist; please tick the items that apply (the run's log lists them). Thelinuxfailure is from main at that base, not from this change.Imported from boykopovar/AnyPS5. Originally posted by Saibamen on 2026-10-09T11:13:50Z.
done
Imported from boykopovar/AnyPS5. Originally posted by adriadam10 on 2026-10-09T20:58:06Z.
Review: APPROVED
Thanks, the checkout before
actions/labeleris the only change left and it looks right: the workflow only runs on schedule/dispatch frommain, so no PR code is checked out. Merging once CI is green.Once it's on
main, aworkflow_dispatchrun of Area labels would confirm the "fetching via the api" lines are gone.Imported from boykopovar/AnyPS5. Originally posted by Saibamen on 2026-10-09T22:11:42Z.
Before: 3m 25s
https://github.com/boykopovar/AnyPS5/actions/runs/37988385670/job/114016013277
After: 2m 6s
https://github.com/boykopovar/AnyPS5/actions/runs/37994547951/job/114037113446