From 95518e940dccf71cceda2b83383beccea57e16e4 Mon Sep 17 00:00:00 2001 From: Monish Basaniwal Date: Thu, 6 Nov 2025 20:57:58 +0530 Subject: [PATCH 1/2] Create vectorguard.yml --- .github/workflows/vectorguard.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/vectorguard.yml diff --git a/.github/workflows/vectorguard.yml b/.github/workflows/vectorguard.yml new file mode 100644 index 0000000..7114135 --- /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@v1 # 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 From 1d4aa45c1c26642e8ab3fffdd9c735e7056ead68 Mon Sep 17 00:00:00 2001 From: Monish Basaniwal Date: Thu, 6 Nov 2025 20:59:12 +0530 Subject: [PATCH 2/2] Update vectorguard.yml --- .github/workflows/vectorguard.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/vectorguard.yml b/.github/workflows/vectorguard.yml index 7114135..fdc51ed 100644 --- a/.github/workflows/vectorguard.yml +++ b/.github/workflows/vectorguard.yml @@ -12,7 +12,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - uses: monizb/vectorguard-pr-scanner@v1 # Replace with your tag/version + - uses: monizb/vectorguard-pr-scanner@main # Replace with your tag/version with: model: gemini-1.5-pro-latest temperature: 0.2