File tree Expand file tree Collapse file tree 2 files changed +7
-13
lines changed
Expand file tree Collapse file tree 2 files changed +7
-13
lines changed Original file line number Diff line number Diff line change 1- name : ' PR Security Review '
1+ name : ' Ethereum Security Reviewer '
22description : ' Automated security review of pull requests using LLMs'
33inputs :
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
Original file line number Diff line number Diff line change 1- name: Code Reviewer
1+ name: Ethereum Code Reviewer
22
33on:
44 pull_request:
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'
You can’t perform that action at this time.
0 commit comments