Commit f310150
committed
ci: auto-update README.md on pull requests
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>1 parent db5d1b8 commit f310150
1 file changed
Lines changed: 36 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
7 | 38 | | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
8 | 43 | | |
9 | 44 | | |
10 | 45 | | |
| |||
30 | 65 | | |
31 | 66 | | |
32 | 67 | | |
33 | | - | |
| 68 | + | |
34 | 69 | | |
35 | 70 | | |
36 | 71 | | |
| |||
0 commit comments