Skip to content

Merge pull request #1143 from kristof-mattei/renovate/node-22.x #2766

Merge pull request #1143 from kristof-mattei/renovate/node-22.x

Merge pull request #1143 from kristof-mattei/renovate/node-22.x #2766

Workflow file for this run

name: Semgrep
on:
push:
branches: [main]
pull_request:
branches: [main]
schedule:
- cron: "41 3 * * 6"
permissions:
security-events: write
actions: read
contents: read
jobs:
semgrep:
name: Scan
runs-on: ubuntu-latest
container:
image: returntocorp/semgrep:1.103.0@sha256:3978a2b4e6c2cbd4eee04b0f05d5ca4a82e6526dc89e01a5dcbb941cedafb393
steps:
- name: Checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
show-progress: false
- name: Run semgrep
env:
SEMGREP_APP_TOKEN: ${{ secrets.SEMGREP_APP_TOKEN }}
run: |
semgrep ci --sarif --output=semgrep.sarif
- name: Upload SARIF file for GitHub Advanced Security Dashboard
if: |
always()
uses: github/codeql-action/upload-sarif@d68b2d4edb4189fd2a5366ac14e72027bd4b37dd # v3.28.2
with:
sarif_file: semgrep.sarif