Repository navigation
[SCAL-266165] Add Theme Builder sync rule to Claude PR review - #752
Open
tushardeepakts wants to merge 2 commits into
Open
tushardeepakts wants to merge 2 commits into
tushardeepakts wants to merge 2 commits into
Conversation
When a PR adds, removes or renames a CustomCssVariables property in src/css-variables.ts, the review agent now checks the PR for a linked Theme Builder PR and posts a red MUST comment if none is found. The check is non-blocking, last in priority, and never skipped. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Contributor
There was a problem hiding this comment.
Code Review
This pull request updates the review prompt instructions in .github/claude-review-prompt.md to introduce a mandatory check for syncing CSS variable changes with the Theme Builder repository. It details the requirements for linking a matching Theme Builder PR and how to format the review summary accordingly. The review feedback suggests simplifying the gh pr view command by omitting the explicit PR number, allowing the GitHub CLI to automatically detect the pull request associated with the current branch.
commit: |
gh pr view needs an explicit number in the review job: actions/checkout leaves a detached merge commit, so branch-based PR lookup fails. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This branch has not been deployed
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.
When a PR adds, removes or renames a CustomCssVariables property in src/css-variables.ts, the review agent now checks the PR for a linked Theme Builder PR and posts a red MUST comment if none is found. The check is non-blocking, last in priority, and never skipped.
Test PR: #753