diff --git a/.github/workflows/security-scan.yaml b/.github/workflows/security-scan.yaml new file mode 100644 index 0000000..0b2dd06 --- /dev/null +++ b/.github/workflows/security-scan.yaml @@ -0,0 +1,20 @@ +name: Security scan + +on: + pull_request_target: {} + workflow_dispatch: {} + push: + branches: [main] + +permissions: + pull-requests: write + contents: read + security-events: write + +jobs: + static-analysis: + runs-on: ubuntu-latest + steps: + - uses: open-turo/actions-security/static-analysis@v4 + with: + semgrep-app-token: ${{ secrets.SEMGREP_APP_TOKEN }}