Skip to content

fix(aws-diagram-mcp-server): replace Unix-only signal with cross-plat… #9955

fix(aws-diagram-mcp-server): replace Unix-only signal with cross-plat…

fix(aws-diagram-mcp-server): replace Unix-only signal with cross-plat… #9955

Workflow file for this run

name: Semgrep
on:
workflow_dispatch: {}
pull_request: {}
push:
branches:
- main
# paths:
# - .github/workflows/semgrep.yml
schedule:
# random HH:MM to avoid a load spike on GitHub Actions at 00:00
- cron: '12 15 * * *'
permissions: {}
jobs:
semgrep:
name: semgrep/ci
runs-on: ubuntu-latest
permissions:
contents: read
security-events: write
# if: (github.actor != 'dependabot[bot]')
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd #v6.0.2
- uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 #v6.2.0
with:
python-version: '3.13'
cache: 'pip'
- run: |
python -m pip install --require-hashes --requirement .github/workflows/semgrep-requirements.txt
- run: semgrep scan --config auto --sarif-output semgrep.sarif.json --no-error --dryrun --verbose
- name: Upload Semgrep scan results to GitHub Security tab
uses: github/codeql-action/upload-sarif@b2ff80ddacba59b60f4e0cf3b699baaea3230cd9 # v4.31.9
with:
sarif_file: semgrep.sarif.json