Skip to content

Publish generated bot catalogs through verified PRs - #20

Merged
flemming-n-larsen merged 3 commits into
mainfrom
feature/protected-catalog-publication
Oct 21, 2026
Merged

flemming-n-larsen merged 3 commits into
mainfrom
feature/protected-catalog-publication

Conversation

@flemming-n-larsen

@flemming-n-larsen flemming-n-larsen commented Oct 20, 2026 •

Copy link
Copy Markdown
Contributor

The catalog publisher currently pushes generated JSON directly to main, so the required pull-request rule would break publication. After a clean bot merge, the moderator App now pushes a generated catalog branch; a separate Publisher App opens its PR. A credential-free workflow verifies the source bot's moderation result and regenerates the exact catalog files from trusted main. The moderator App approves and merges only that verified head. Catalog merges do not trigger another publication run.

The organization forbids GITHUB_TOKEN from creating PRs, so the Publisher App has only Contents read and Pull requests write on rumble-bots; it gets no push or bypass permission. GOVERNANCE.md documents its exact registration and two new repository secrets. Generated files no longer require Flemming as CODEOWNER; workflow and policy changes still do. If multiple bot submissions are unpublished at once, verification holds the catalog PR for ownership review.

Validation: 46 Python tests passed (2 platform-dependent skips); git diff --check passed. Live publication and branch-rule activation remain on hold until the Publisher App is installed and a generated PR is observed end to end.

@tank-royale-rumble-moderator

Copy link
Copy Markdown
Contributor

@flemming-n-larsen Moderation needs your decision for b6f3ffa304c5: Non-bot or protected file changed: .github/workflows/publish-catalog.yml

The required check stays pending. After reviewing, use /moderation approve <reason> or request changes.

@tank-royale-rumble-moderator

Copy link
Copy Markdown
Contributor

@flemming-n-larsen Moderation needs your decision for 5007d8cdfde5: Non-bot or protected file changed: .github/workflows/publish-catalog.yml

The required check stays pending. After reviewing, use /moderation approve <reason> or request changes.

@tank-royale-rumble-moderator

Copy link
Copy Markdown
Contributor

@flemming-n-larsen Moderation needs your decision for 2470bcb8c84e: Non-bot or protected file changed: .github/workflows/publish-catalog.yml

The required check stays pending. After reviewing, use /moderation approve <reason> or request changes.

@flemming-n-larsen
flemming-n-larsen merged commit 2f7d7f8 into main Oct 21, 2026
3 of 4 checks passed
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