Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# >>> runpod secret gate (deploy-secret-gate.sh) >>>
# Owners of the secret gate's files.
# CODEOWNERS is last-match-wins: keep this block at the end of the file.
/.github/workflows/pr-security-scan.yml @runpod/security
/.github/workflows/pr-ai-review.yml @runpod/security
# <<< runpod secret gate (deploy-secret-gate.sh) <<<
23 changes: 23 additions & 0 deletions .github/workflows/pr-ai-review.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Stage 2 of the secret gate. The jobs live in runpod/secret_detector; see its README.
# Written by deploy-secret-gate.sh.
name: PR AI Security Review

on:
workflow_run:
workflows: ["PR Security Scan"]
types: [completed]

permissions:
contents: read

jobs:
review:
uses: runpod/secret_detector/.github/workflows/pr-ai-review.yml@main
permissions:
contents: read
pull-requests: write
statuses: write
with:
review-contacts: "runpod/security"
secrets:
LITELLM_API_KEY: ${{ secrets.LITELLM_API_KEY }}
14 changes: 14 additions & 0 deletions .github/workflows/pr-security-scan.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Stage 1 of the secret gate. The job lives in runpod/secret_detector; see its README.
# Written by deploy-secret-gate.sh.
name: PR Security Scan

on:
pull_request:
types: [opened, synchronize, reopened, ready_for_review]

permissions:
contents: read

jobs:
scan:
uses: runpod/secret_detector/.github/workflows/pr-security-scan.yml@main
Loading