Add original hop limit to header to determine hops used #2946
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: Semgrep Differential Scan | |
on: pull_request | |
jobs: | |
semgrep-diff: | |
runs-on: ubuntu-latest | |
container: | |
image: returntocorp/semgrep | |
steps: | |
# step 1 | |
- name: clone application source code | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
# step 2 | |
- name: differential scan | |
run: | | |
semgrep scan \ | |
--error \ | |
--metrics=off \ | |
--baseline-commit ${{ github.event.pull_request.base.sha }} \ | |
--config="p/default" |