Repository navigation
Sync the ng-tested label weekly and add a cleanup for old updates - #16
Merged
Merged
Conversation
- The weekly update reads the latest plugin compatibility report from mkdocs-ng/mkdocs and adds or removes `ng-tested` on each project, then commits projects.yaml with the README. If the report can't be fetched, the labels stay as they are. - remove-stale-updates: a manual workflow that deletes the draft releases, their tags and the update/* branches left by the old update workflow. It defaults to a dry run; published releases are kept.
3 tasks done
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.
What kind of change does this PR introduce?
Description:
Two maintenance chores done by the workflows instead of by hand.
ng-testedfollows the test results. Before generating, the weekly update downloadscompat-report.jsonfrom the latest completed compat run on mkdocs-ng/mkdocsmainand runs.github/scripts/sync_ng_tested.py. A project gets the label when the case installing its PyPI package passes on mkdocs-ng and loses it otherwise. Only label lines inprojects.yamlchange, and the file is committed with the README. If the report can't be fetched, or no case passed (a broken run), the labels stay as they are and the update continues. Needs mkdocs-ng/mkdocs#136, which uploads the report.Tested locally against the current cases: an all-pass report changes nothing (the 31 labels from #15), failing
mikeandmkdocs-materialremoves their labels, and an empty report is refused.remove-stale-updatesis a manual workflow that deletes what the old update workflow left behind: 27 draft releases with their tags, and 28update/*branches. Published releases (2026.05.07,2026.11.01) and their tags are kept. It defaults to a dry run.Checklist:
README.mdfile. Projects are only supposed to be added or updated within theprojects.yamlfile since theREADME.mdfile is automatically generated.