Create AIPRChecker.yml
This commit is contained in:
parent
bc064ddb88
commit
0d75c0085a
13
.github/workflows/AIPRChecker.yml
vendored
Normal file
13
.github/workflows/AIPRChecker.yml
vendored
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
name: AIPRChecker - Check for security issues and code smells
|
||||||
|
on: [pull_request_target]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
test:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Run AIPRChecker
|
||||||
|
uses: AI-Gents/AIPRChecker@main
|
||||||
|
with:
|
||||||
|
api-key: ${{ secrets.OPENAI_API_KEY }}
|
||||||
|
model: 'gpt-4'
|
||||||
|
github-token: ${{ secrets.GITHUB_TOKEN }}
|
Loading…
Reference in New Issue
Block a user