Skip to content

Add MCP Integration #35

Add MCP Integration

Add MCP Integration #35

Workflow file for this run

name: Security Scan
on:
pull_request:
branches: [main, master]
jobs:
secrets:
name: Detect Secrets
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: "20"
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: Install detect-secrets
run: |
python -m pip install --upgrade pip
python -m pip install detect-secrets==1.5.0
- name: Detect secrets
run: |
if ! python -m detect_secrets scan --baseline .secrets.baseline \
--exclude-files "(^|/)(dist/|node_modules/|package-lock\.json$|\.detect-secrets\.cfg$)" \
--exclude-lines "AI_API_KEY=|OPENROUTER_API_KEY=|CLAUDE_MODEL=|GEMINI_MODEL=|apiKey:|botToken:|apiKeyEnv:|\"apiKeyEnv\"|=== \"string\""; then
echo "::error::Secret scanning failed. Run 'python -m detect_secrets audit .secrets.baseline' to review findings."
exit 1
fi