Skip to content

Automatically add any inferred README changes in pre-commit hook - #2987

Merged
mfedderly merged 2 commits into
masterfrom
mf/fix-lint-stage-readme
Jan 1, 2026
Merged

Automatically add any inferred README changes in pre-commit hook#2987
mfedderly merged 2 commits into
masterfrom
mf/fix-lint-stage-readme

Conversation

@mfedderly

Copy link
Copy Markdown
Collaborator

I figured out why the README files were trailing behind even though they were in the pre-commit hooks.

The generate-readmes step creates changes in files not included in the original commit. So the fix then is to just add these generated files into the commits where appropriate. It should be safe to just batch add all of the readmes since they should be derived entirely from the index file comments instead.

@smallsaucepan smallsaucepan left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice catch.

@mfedderly
mfedderly merged commit 5a261c9 into master Jan 1, 2026
4 checks passed
@mfedderly
mfedderly deleted the mf/fix-lint-stage-readme branch January 1, 2026 17:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants