chore(ci): use pr-closer action#664
Conversation
📝 WalkthroughWalkthroughThe stale PR closer workflow is simplified by replacing a custom job with inline bash logic that identifies and closes stale pull requests with a single invocation of the ChangesStale PR Closer Workflow Simplification
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Comment |
Greptile SummaryReplaces the inline stale-PR shell/jq script with the shared
Confidence Score: 5/5Safe to merge — the only file changed is a CI workflow that delegates to a commit-SHA-pinned shared action. The change is a straightforward delegation to a well-pinned external action owned by the same author. The action SHA is explicit, permissions are appropriately scoped, and the triggers are unchanged. No logic runs in this repo anymore that could fail in a new way. No files require special attention. Important Files Changed
Reviews (3): Last reviewed commit: "Merge branch 'main' into chore/use-pr-cl..." | Re-trigger Greptile |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #664 +/- ##
=======================================
Coverage 73.59% 73.59%
=======================================
Files 50 50
Lines 7824 7824
Branches 7824 7824
=======================================
Hits 5758 5758
Misses 1334 1334
Partials 732 732 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Summary
Tests
This PR was generated by an AI coding assistant.
Note
Low Risk
CI-only change; stale-PR behavior now depends on the external action matching prior rules, but no application or security-sensitive code is touched.
Overview
Replaces the daily stale-PR workflow’s inline
gh/jqscript with the pinned reusable actionjdx/pr-closer@v1.0.1, while keeping the same midnight cron,workflow_dispatch, and concurrency settings.The job is renamed to
pr-closer, andissues: writeis added alongside existing PR/check/status permissions so the action can manage comments or related issue APIs as needed.Reviewed by Cursor Bugbot for commit d2acc43. Bugbot is set up for automated code reviews on this repo. Configure here.
Summary by CodeRabbit