Repository navigation
Add Claude GitHub workflows for security-focused PR reviews and summaries - #236
Merged
matjazv merged 5 commits intoFeb 3, 2026
Conversation
matjazv
force-pushed
the
prot-81-add-claude-code-review-to-lisk-contracts-repository
branch
from
February 3, 2026 10:52
00672e0 to
cfe2788
Compare
Fix CI failure due to deleted commit reference. The previous commit (143ac6885) no longer exists in the remote repository. Updated to aa1a0a46877b (2025-10-20) which is before the contracts were moved to evm-adapters package. Also removed submodules: recursive from claude.yml as it's not needed. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
…atibility The redstone-oracles-monorepo imports AggregatorV3Interface from @chainlink/contracts/src/v0.8/shared/interfaces/, but the previous submodule commit (3cf93c9f84) predates the shared/interfaces directory reorganization. Update to commit 811fe603ae67 (2024-05-13) which has the required interface files in the expected path. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
matjazv
marked this pull request as draft
February 3, 2026 12:30
matjazv
marked this pull request as ready for review
February 3, 2026 12:30
Contributor
Author
|
/review |
shuse2
approved these changes
Feb 3, 2026
ricott1
approved these changes
Feb 3, 2026
matjazv
deleted the
prot-81-add-claude-code-review-to-lisk-contracts-repository
branch
February 3, 2026 14:17
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
This PR adds three GitHub Actions workflows for Claude AI integration, providing automated security-focused code reviews, PR summaries, and interactive assistance tailored for this smart contracts repository.
GitHub Actions Automation:
Claude PR Code Review Workflow
Adds
.github/workflows/claude-pr-review-caller.ymlto enable security-focused code review when/reviewis commented or theneeds-reviewlabel is applied. The review prompt is specifically tailored for Solidity smart contracts that hold real funds, covering reentrancy, access control, fund theft vectors, flash loan attacks, and oracle manipulation risks.Claude PR Summary Workflow
Adds
.github/workflows/claude-pr-summary-caller.ymlto automatically generate and update a concise technical summary in the PR description upon PR open/sync/reopen events. Uses the cost-efficienthaikumodel.Claude Code Interactive Workflow
Adds
.github/workflows/claude-interactive-caller.ymlto allow interactive Claude responses when@claudeis mentioned in PRs, issues, or comments. Includes Foundry and Node.js tooling for running tests and TypeScript checks.