Repository navigation
Auto-push regenerated overview apps on internal PRs - #702
Merged
Merged
Conversation
…branch The overview catalogs are fully derived from the folder tree, but CI only verified them and failed the pull request when they were stale, so every contributor had to push a mechanical follow-up commit. For a pull request from a branch of this repository the workflow now checks out the head branch, regenerates the catalogs and pushes the result back, so the pull request goes green on its own. The push uses a deploy key (ACTION_KEY_SAMPLES, the pattern already used for ACTION_KEY_FRONTEND and ACTION_KEY_LOCAL) because a push with the default GITHUB_TOKEN would not re-trigger the other checks and would leave the new commit unverified. Fork pull requests receive no secrets and standard is protected, so both keep the previous guard-and-fail behaviour. Until the secret is configured the workflow behaves exactly as before for every event. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Cpu46KEg8yScnPEVUKS8fL
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.
Summary
Enhance the
generate_overview_appsworkflow to automatically regenerate and push overview app catalogs when they're out of date on pull requests from branches within this repository, while maintaining strict verification on fork PRs and pushes to the protectedstandardbranch.Key Changes
ACTION_KEY_SAMPLESsecret to push changes without re-triggering verification issues that would occur withGITHUB_TOKENstandardbranch pushes (where pushing isn't possible)Implementation Details
CAN_PUSHcondition) based on event type, repository ownership, and secret availabilityhttps://claude.ai/code/session_01Cpu46KEg8yScnPEVUKS8fL