docs(claude): stop the daily maintenance PR pileup#42
Merged
Conversation
The scheduled "keep the repo up to date" routine was opening a new draft PR every day (#30-#39) without checking for existing open ones or merging its own work, and repeatedly hand-resolved actions/checkout SHA drift in inconsistent directions instead of deferring to Dependabot. Document the actual rules: dedupe against open PRs from the same routine, leave third-party Action version pins to Dependabot, run formatters before committing, and merge routine/mechanical fixes once required checks are green instead of leaving them as drafts forever. Signed-off-by: Claude <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
The scheduled "keep the repo up to date" routine had been opening a new draft PR every day for the past 8 days (#30, #31, #33, #34, #35, #36, #37, #39) without checking for existing open PRs or ever merging its own work, and repeatedly hand-resolved
actions/checkoutSHA drift in inconsistent directions (flip-flopping between two SHAs) instead of deferring to Dependabot. This adds explicit rules toCLAUDE.mdfor scheduled/unattended sessions: dedupe against open PRs from the same routine before opening a new one, leave third-party Action version pins to Dependabot (which already owns that job weekly), run formatters before committing, and merge routine/mechanical fixes once required checks are green instead of leaving them open indefinitely.Linked issue(s)
Closes #
Type of change
docs— documentation onlyBreaking change?
How has this been tested?
Ran
prettier --checkandmarkdownlint-cli2locally against the changed file; both pass. This is a documentation-only change with no runtime surface to exercise.Checklist
Process
Signed-off-by:trailer, added bygit commit -s).claude/<short-kebab-description>.NA-03 merge blockers
Additional notes
Companion cleanup done in this session (not part of this diff):
actions/checkoutSHA inconsistency that all 8 stale PRs were chasing.build-commandinreusable-ci-docs-mdx.ymlfrom docs(ci): update governance docs and deprecate legacy workflows #37,pnpm auditgates from ci: align terraform checkout SHA, add pnpm audit to TS CI, fix PR template and ORG_SETTINGS #33/ci: add pnpm audit gates, fix SHA drift, update docs to match NA-03 v1.6 #39, deprecation banners from docs(ci): document missing workflows, fix SHA drift and allow-list gaps #34) worth resubmitting individually rather than being silently dropped.Generated by Claude Code