Skip to content

DO NOT MERGE - DUMMY PR #21

DO NOT MERGE - DUMMY PR

DO NOT MERGE - DUMMY PR #21

Workflow file for this run

---
name: Semgrep Differential Scan
on:
pull_request:
jobs:
semgrep-diff:
runs-on: ubuntu-latest
container:
image: returntocorp/semgrep
steps:
# Step 1: Clone application source code
- name: Checkout code
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # v3.1.0
with:
fetch-depth: 0
# Step 2: Differential scan
- name: Differential scan
run: |
base_commit=$(git rev-parse ${{ github.base_ref }})

Check failure on line 22 in .github/workflows/semgrep_diff.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/semgrep_diff.yml

Invalid workflow file

You have an error in your yaml syntax on line 22
semgrep scan --error --config="p/trailofbits" \
--baseline-commit $base_commit