Skip to content

ci: align the PR review on the shared skill - #25

Open
ezekiel-alexrod wants to merge 2 commits into
mainfrom
ci/align-review-on-shared-skill
Open

ci: align the PR review on the shared skill#25
ezekiel-alexrod wants to merge 2 commits into
mainfrom
ci/align-review-on-shared-skill

Conversation

@ezekiel-alexrod

Copy link
Copy Markdown
Contributor

The review job never received ACTIONS_APP_PRIVATE_KEY. A reusable workflow
inherits no secret, so the shared workflow skipped the agent-hub marketplace and
the scality-skills plugin was never loaded. Until now the repo-local fork of the
/review-pr skill covered for that — which is why nobody noticed.

Passing the key lets the plugin load, so the fork is no longer needed. The current
skill reads its criteria from .claude/REVIEW.md, so the repo keeps only what is
repo-specific and stops carrying a copy of the mechanics. The fork here predates the
check-run summary and the helper scripts, and it still signs comments and posts a
summary comment — both forbidden by the current skill.

The criteria table moves over unchanged, row for row. What disappears is the
argument parsing, the gh commands and the output modes, which now come from
upstream and stay up to date on their own.

Visible change after merge: the summary becomes a Claude Code Review check run
instead of a Review by Claude Code comment, and inline comments lose the
— Claude Code signature.

Validated end to end on scality/image-cache#7: check run posted, and no
"No review instructions found" note, which proves the criteria file was read.

A reusable workflow inherits no secret: the review job only sees what the
caller lists under `secrets:`. Without `ACTIONS_APP_PRIVATE_KEY` the shared
workflow skips the agent-hub marketplace, so the `scality-skills` plugin is
never loaded and its `/review-pr` skill is unavailable.
The `/review-pr` skill of the `scality-skills` plugin reads its criteria from
`.claude/REVIEW.md`, so the repo only has to describe what matters here. Keeping
a fork of the whole skill freezes its mechanics: this copy predates the check-run
summary and the helper scripts, and it still signs comments and posts a summary
comment, both of which the current skill forbids.

The criteria table moves over unchanged — it was the only repo-specific part of
the fork. The steps, the posting commands and the output modes now come from
upstream and stay up to date on their own.
@ezekiel-alexrod
ezekiel-alexrod requested a review from a team as a code owner July 28, 2026 12:40
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