Skip to content

Commit f378c5d

Browse files
committed
2 parents 55d8bd2 + f742eab commit f378c5d

File tree

2 files changed

+7
-13
lines changed

2 files changed

+7
-13
lines changed

action.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
1-
name: 'PR Security Review'
1+
name: 'Ethereum Security Reviewer'
22
description: 'Automated security review of pull requests using LLMs'
33
inputs:
44
github-token:
55
description: 'GitHub token for accessing PR content'
66
required: true
77
llm-provider:
88
description: 'LLM provider to use (anthropic or openai)'
9-
required: false
9+
required: true
1010
default: 'anthropic'
1111
anthropic-api-key:
1212
description: 'Anthropic API key for Claude access'
13-
required: false
13+
required: true
1414
openai-api-key:
1515
description: 'OpenAI API key for GPT access'
1616
required: false

security-review.yml.example

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Code Reviewer
1+
name: Ethereum Code Reviewer
22

33
on:
44
pull_request:
@@ -9,15 +9,9 @@ jobs:
99
runs-on: ubuntu-latest
1010
steps:
1111
- uses: actions/checkout@v4
12-
- name: Code Reviewer
13-
uses: ethereum-code-reviewer@v1
12+
- name: Ethereum Security Reviewer
13+
uses: protocol-security/ethereum-code-reviewer@v0.1.0
1414
with:
1515
github-token: ${{ secrets.GITHUB_TOKEN }}
16-
llm-provider: 'anthropic' # or any other supported LLM
16+
llm-provider: 'anthropic'
1717
anthropic-api-key: ${{ secrets.ANTHROPIC_API_KEY }} # for Anthropic (Claude)
18-
# openai-api-key: ${{ secrets.OPENAI_API_KEY }} # for OpenAI (GPT)
19-
# Optional: specify model version
20-
# claude-model: 'claude-sonnet-4-20250514' # for Anthropic
21-
# gpt-model: 'gpt-4.1' # for OpenAI
22-
# Optional: provide vulnerability documentation
23-
# docs-dir: './docs'

0 commit comments

Comments
 (0)