Skip to content

chore(deps): bump the actions group across 1 directory with 7 updates #1157

chore(deps): bump the actions group across 1 directory with 7 updates

chore(deps): bump the actions group across 1 directory with 7 updates #1157

Workflow file for this run

name: Semgrep
on:
pull_request:
push:
branches: [main]
permissions:
contents: read
jobs:
scan:
runs-on: ubuntu-latest
container:
image: semgrep/semgrep@sha256:a3d49dc967b8534a6a76628e50c51cbfe33eb7195dc2feab1fdc0f100852c8ef
steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
with:
fetch-depth: 0
- name: Run Semgrep
run: |
if [ "${{ github.event_name }}" = "pull_request" ]; then
semgrep scan --config auto --error --baseline-commit ${{ github.event.pull_request.base.sha }}
else
semgrep scan --config auto
fi
env:
SEMGREP_RULES: p/default