diff --git a/.github/workflows/semgrep.yml b/.github/workflows/semgrep.yml index 6067e3f..894f30a 100644 --- a/.github/workflows/semgrep.yml +++ b/.github/workflows/semgrep.yml @@ -11,7 +11,10 @@ jobs: semgrep: name: semgrep-oss runs-on: ubuntu-slim + container: + image: semgrep/semgrep steps: - - uses: actions/checkout@v5 - - run: pip install semgrep==1.157.0 - - run: semgrep scan --config=auto \ No newline at end of file + - uses: actions/checkout@v4 + with: + fetch-depth: 1 + - run: semgrep scan --config=auto