Skip to content

Sync the ng-tested label weekly and add a cleanup for old updates - #16

Merged
shenxianpeng merged 1 commit into
mainfrom
claude/project-thread-dhxkh9
Nov 1, 2026
Merged

shenxianpeng merged 1 commit into
mainfrom
claude/project-thread-dhxkh9

Conversation

@shenxianpeng

@shenxianpeng shenxianpeng commented Nov 1, 2026 •

Copy link
Copy Markdown
Member

What kind of change does this PR introduce?

  • Change configuration
  • Documentation
  • Other: workflows

Description:

Two maintenance chores done by the workflows instead of by hand.

ng-tested follows the test results. Before generating, the weekly update downloads compat-report.json from the latest completed compat run on mkdocs-ng/mkdocs main and 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 in projects.yaml change, 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 mike and mkdocs-material removes their labels, and an empty report is refused.

remove-stale-updates is a manual workflow that deletes what the old update workflow left behind: 27 draft releases with their tags, and 28 update/* branches. Published releases (2026.05.07, 2026.11.01) and their tags are kept. It defaults to a dry run.

Checklist:

  • I have read the CONTRIBUTING guidelines.
  • I have not modified the README.md file. Projects are only supposed to be added or updated within the projects.yaml file since the README.md file is automatically generated.

- 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.
@shenxianpeng shenxianpeng self-assigned this Nov 1, 2026
@shenxianpeng
shenxianpeng merged commit a0bfa73 into main Nov 1, 2026
1 check passed
@shenxianpeng
shenxianpeng deleted the claude/project-thread-dhxkh9 branch November 1, 2026 20:16
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