Repository navigation
Trigger website catalog builds after app changes - #121
Merged
Merged
Conversation
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 16600baa-96ad-4836-8e96-6b34a1c9fbd9
10 of 11 tasks
Contributor
Author
|
@copilot update this branch so we can safely merge it into main soon. |
…trigger Co-authored-by: MetzinAround <65838556+MetzinAround@users.noreply.github.com>
Contributor
Merged current |
Contributor
There was a problem hiding this comment.
🟢 Approval recommended
No blocking issues remain; live operation still requires the documented receiver merge, administrator setup, and end-to-end validation.
No open issues 🎉
What changed in this PR
Adds a sender workflow so changes to badge apps on badger/home/main trigger a website catalog deployment without requiring a release or tag.
Changes:
- Runs on pushes affecting
badge/apps/**, with a manual retry option. - Dispatches the website’s
deploy.ymlworkflow onmain. - Uses a short-lived, repository-scoped GitHub App token with Actions write permission and credentials from the
catalog-syncenvironment.
| File | Description |
|---|---|
.github/workflows/update-website-catalog.yml |
Adds the app-change trigger and authenticated website deployment dispatch. |
Review effort: Balanced
avni
approved these changes
Oct 27, 2026
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.
Copilot Generated
Summary
deploy.ymlworkflow when app changes reachbadger/home/main, including fixes to existing app code.badge/apps/**and provide a manual retry. No release or tag is needed.badger/badger.github.io.catalog-syncenvironment. The job does not check out or execute app code and has no default token permissions.Related: badger/badger.github.io#50. This is the companion sender for badger/badger.github.io#55.
Validation
git diff --checkpasses.client-idinput and restricted target.Required setup and order
Merge badger/badger.github.io#55 before enabling this sender. Create a dedicated organization-owned GitHub App installed only on the website repository with Actions read/write permission.
A repository administrator must configure the
catalog-syncenvironment to allow only the main branch and add:CATALOG_APP_CLIENT_ID(the public App Client ID, not an OAuth secret).CATALOG_APP_PRIVATE_KEY(upload directly from the private-key file; do not paste it into chat, code, or logs).Protect workflow changes through review. Do not grant content-write or administration permission, install the App across all repositories, or remove the environment restriction to work around missing access.
Automatic updates remain unverified until a real source-to-website run succeeds. This PR does not change badge app code or create generated-data commits.