diff --git a/.github/workflows/vectorguard.yml b/.github/workflows/vectorguard.yml new file mode 100644 index 0000000..fdc51ed --- /dev/null +++ b/.github/workflows/vectorguard.yml @@ -0,0 +1,21 @@ +name: Security PR Review +on: + pull_request: + types: [opened, synchronize, reopened] + +jobs: + review: + permissions: + contents: read + pull-requests: write + issues: write + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: monizb/vectorguard-pr-scanner@main # Replace with your tag/version + with: + model: gemini-1.5-pro-latest + temperature: 0.2 + enable_inline: false + env: + GEMINI_API_KEY: ${{ secrets.GEMINI_API_KEY }} \ No newline at end of file