Skip to content

CI: check the service list both ways, the service files, and the README headings - #429

Merged
crypt0rr merged 4 commits into
mainfrom
ci-check-service-catalog
Nov 23, 2026
Merged

crypt0rr merged 4 commits into
mainfrom
ci-check-service-catalog

Conversation

@jackspiering

@jackspiering jackspiering commented Nov 20, 2026 •

Copy link
Copy Markdown
Collaborator

Description

.github/scripts/check-service-list.sh now checks the service list in both directions, and the files of each service:

  • Every row in the root README.md links to a directory in services/, so a renamed or removed stack cannot leave a stale row. Only the rows of the service list, which start with | **, count. A link in other text does not.
  • No stack has more than one row.
  • Every stack has compose.yaml, .env, and README.md.
  • The level-two headings of every service README are those of the template, in order, with only "Configuration", "Troubleshooting", and "Upgrading" added before "Links", in that order (CONTRIBUTING.md, "Complete the service README"). Headings inside fenced code blocks (``` or ~~~, indented by up to three spaces) are ignored.

The existing checks (a row for every stack, alphabetical order) are unchanged. The check stays structural and leaves content to review.

Related Issues

  • None. This addresses finding E-003 of an external code review.

Verification

  • docker compose config --quiet: no stack changes.
  • The stack started, Tailscale is healthy, and the service is reachable through the Tailnet: not applicable, no stack changes.
  • The main function of the service works, and its data survives a restart: not applicable, no stack changes.
  • rumdl check --config .markdownlint.yml . (0.3.0) and git diff --check origin/main pass.
  • The script passes on the current tree, with all 146 stacks and their READMEs. In a scratch worktree, I removed services/homer but kept its row, added a second row for Dashy, deleted Gatus's .env, renamed "First run" in Umami, and moved FossFLOW's "Upgrading" before "First run". It reported all five and exited 1.
  • After review: a link in other text no longer hides a missing row or counts as a second row, and ## lines inside ~~~ fences and fences indented by three spaces are skipped. A fence indented by four spaces is not treated as a fence.
  • actionlint 1.7.12, zizmor 1.30.1 (offline mode), and shellcheck pass.

Impact on existing users

  • None. A contributor whose service README uses other headings now gets a CI error, which the PR template already asks them to avoid.

Checklist

  • I have performed a self-review of my code and followed the templates structure.
  • I did not commit a working auth key, password, token, or other credential.
  • The service README uses the headings of the template, in the same order, and is up to date.
  • I added, removed, or renamed the service in the root README.md, in alphabetical order, or this PR does not change the list of services.

Additional Context

@jackspiering jackspiering added the CI/CD Continuous Integration / Continuous Deployment (CI/CD) label Nov 20, 2026
@jackspiering
jackspiering marked this pull request as ready for review November 21, 2026 08:40
…nted fences

Review findings W8 and S1 on #429:
- Only the rows of the service list, which start with "| **", count. A link
  in other text no longer hides a missing row or counts as a second row.
- Headings inside ~~~ fences, and inside fences indented by up to three
  spaces, are skipped too.
@crypt0rr
crypt0rr merged commit 36581c7 into main Nov 23, 2026
3 checks passed
@crypt0rr
crypt0rr deleted the ci-check-service-catalog branch November 23, 2026 08:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CI/CD Continuous Integration / Continuous Deployment (CI/CD)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants