ci: SHA-pin actions in pr-size workflow and drop dead job
Hardened .github/workflows/pr-size.yml:
- SHA-pinned actions/checkout and actions/github-script (was floating major).
- Removed the sync-label-definitions job, which could never run (its if-condition contradicted the workflow trigger).
- Updated docs/project/good-first-prs.md status.
YAML structure verified; label job still wired correctly.
[!NOTE] Low Risk CI-only changes; PR size labeling behavior is unchanged aside from no longer auto-creating/updating label colors and descriptions in the repo.
Overview Hardens
.github/workflows/pr-size.ymlby pinningactions/checkoutandactions/github-scriptto commit SHAs instead of floating@v4/@v8tags, and documents why thepull_request_targetcheckout step stays on the base branch only.Removes the
sync-label-definitionsjob, which could never run because itsif: github.event_name != 'pull_request_target'conflicted with a workflow that only triggers onpull_request_target.prepare-confignow emits labelnamevalues only (nocolor/description), since nothing in the remaininglabeljob needed those fields.Adds
docs/project/good-first-prs.md, a contributor audit backlog, and marks the pr-size checkout bump as done in that doc.Reviewed by Cursor Bugbot for commit 94a474913a79c2288b3cb061706dad187878c8c2. Bugbot is set up for automated code reviews on this repo. Configure here.
[!NOTE]
Pin actions to commit SHAs and remove label-sync job in pr-size workflow
- Pins
actions/github-scriptandactions/checkoutto specific commit SHAs in pr-size.yml instead of floating major version tags.- Removes the
sync-label-definitionsjob, which previously created and updated PR size label color/description via the GitHub Issues API.- The
prepare-configoutput now includes only labelnamefields, droppingcoloranddescription.Macroscope summarized 94a4749.
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
[!IMPORTANT]
Review skipped
Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the
.coderabbit.yamlfile in this repository. To trigger a single review, invoke the@coderabbitai reviewcommand.⚙️ Run configuration
Configuration used: Repository UI
Review profile: CHILL
Plan: Pro Plus
Run ID:
77aaf980-e8c5-4c3d-bb29-9676528a7611You can disable this status message by setting the
reviews.review_statustofalsein the CodeRabbit configuration file.Use the checkbox below for a quick retry:
- [ ] 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
- [ ] Create PR with unit tests
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
Comment @coderabbitai help to get the list of available commands.
Approvability
Verdict: Approved
CI workflow cleanup (SHA-pinning actions, removing dead job) and new contributor documentation. No runtime behavior changes. The open review comment is a low-severity doc inconsistency that doesn't block approval.
You can customize Macroscope's approvability policy. Learn more.
Closing as part of the open-PR backlog sweep (wave 1).
Reason: Jul CI chore (SHA-pin pr-size) with unstable checks; not worth the review bandwidth.
Reopen if this is still wanted and you’re willing to rebase onto current main.