Skip to content

chore(deps): pin docker/setup-docker-action action to 370a7da - autoclosed #4163

chore(deps): pin docker/setup-docker-action action to 370a7da - autoclosed

chore(deps): pin docker/setup-docker-action action to 370a7da - autoclosed #4163

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.109.0@sha256:664850c7788f22af8194baab646b3290943f3fec7a00220786496a08f3eb5e34
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@b56ba49b26e50535fa1e7f7db0f4f7b4bf65d80d # v3.28.10
with:
sarif_file: semgrep.sarif