Skip to content

ci: auto-update README.md on pull requests#606

Open
kd7lxl wants to merge 1 commit intomasterfrom
update-readme-job
Open

ci: auto-update README.md on pull requests#606
kd7lxl wants to merge 1 commit intomasterfrom
update-readme-job

Conversation

@kd7lxl
Copy link
Collaborator

@kd7lxl kd7lxl commented Mar 23, 2026

Add an update-readme job that regenerates README.md and pushes a fix commit to same-repo PRs when it's out of date. The lint-test job is skipped when a fix is pushed, since the new commit re-triggers CI.

Fork PRs are unaffected — the job is skipped and the existing diff check in lint-test still catches stale READMEs.

This primarily targets Renovate PRs, which often update dependencies without updating the README. The job is generic enough to be useful for other PRs as well, though.

Add an update-readme job that regenerates README.md and pushes a fix
commit to same-repo PRs when it's out of date. The lint-test job is
skipped when a fix is pushed, since the new commit re-triggers CI.

Fork PRs are unaffected — the job is skipped and the existing diff
check in lint-test still catches stale READMEs.

This primarily targets Renovate PRs, which often update dependencies
without updating the README. The job is generic enough to be useful for
other PRs as well, though.

Signed-off-by: Tom Hayward <thayward@infoblox.com>
@kd7lxl kd7lxl requested a review from nschad March 23, 2026 23:36
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.

1 participant