🪢 Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.
TypeScript analyticsautogenevaluationlangchainlarge-language-modelsllama-indexllmllm-evaluationllm-observabilityllmopsmonitoringobservabilityopen-sourceopenaiplaygroundprompt-engineeringprompt-managementself-hostedycombinator
ci: add semgrep PR security scan (#13566)
Max Deichmann3ab29b171fc9
diff --git a/.github/workflows/semgrep.yml b/.github/workflows/semgrep.ymlnew file mode 100644index 0000000000..d5225b155a--- /dev/null+++ b/.github/workflows/semgrep.yml@@ -0,0 +1,43 @@+---+name: Semgrep++on:+ pull_request:+ branches:+ - "**"+ types:+ - opened+ - reopened+ - synchronize+ - ready_for_review++permissions:+ contents: read++concurrency:+ group: ${{ github.workflow }}-${{ github.ref }}+ cancel-in-progress: true++jobs:+ semgrep:+ name: Security scan+ runs-on: ubuntu-latest+ timeout-minutes: 30+ container:+ image: semgrep/semgrep:1.162.0@sha256:9349edbadf90c3f3c0c3f55867625354e89680e6fa10d9034042af52fdb0e0d0+ steps:+ - name: Checkout+ uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2+ with:+ fetch-depth: 0+ persist-credentials: false++ - name: Run Semgrep+ env:+ BASELINE_COMMIT: ${{ github.event.pull_request.base.sha }}+ SEMGREP_SEND_METRICS: "off"+ run: |+ semgrep scan \+ --config p/default \+ --baseline-commit "$BASELINE_COMMIT" \+ --error