feat(claude-review): inject team standards via isolated two-job fetch#46
Draft
MaximusHaximus wants to merge 1 commit into
Draft
feat(claude-review): inject team standards via isolated two-job fetch#46MaximusHaximus wants to merge 1 commit into
MaximusHaximus wants to merge 1 commit into
Conversation
| # TODO(before merge): switch @feat/... back to @main. The branch ref lets | ||
| # this bootstrap PR self-test the action (which isn't on main yet); | ||
| # reusable workflows resolve composite actions by full path, not local ./. | ||
| uses: 0xPolygon/pipelines/.github/actions/fetch-team-context@feat/claude-review-team-context |
31b1fa9 to
a519120
Compare
Optional two-job flow: a context job fetches configured read-only sources with a short-lived app token and hands them to the review as an artifact; the review job (no fetch credentials) injects the standards into CLAUDE.md. Sources are supplied via a TEAM_CONTEXT_SOURCES secret, so no source repos or paths live in this public repo. Backward compatible — without the inputs the review runs as before.
a519120 to
efd440e
Compare
|
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.




What
Makes the Claude code review aware of the team's standards (and related reference docs) by fetching that context and injecting it into the review.
Two jobs:
fetch-contextfetches the configured read-only sources with a short-lived app token and uploads them as an artifact.claude-reviewdownloads the artifact, loads the standards, and runs the review — it is not given the fetch credentials.Backward compatible: the context inputs are optional, so callers that don't pass them review exactly as before.
Note
Before merge: switch the
fetch-team-contextreference from the branch ref back to@main(the branch ref only exists so this PR can self-test the action).