Skip to content

Commit

Permalink
Replace snyk with semgrep
Browse files Browse the repository at this point in the history
  • Loading branch information
chriselbring-avalabs committed Jan 15, 2025
1 parent 8f7c7b3 commit 941019e
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 36 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/semgrep.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Semgrep
on:
push:
branches-ignore:
- "dependabot/**"
pull_request:
branches:
- "dependabot/**"
jobs:
semgrep:
name: semgrep/ci
runs-on: ubuntu-latest

container:
image: semgrep/semgrep

if: (github.actor != 'dependabot[bot]')

steps:
- uses: actions/checkout@v4
- run: semgrep ci --dry-run --sarif > semgrep.sarif
env:
SEMGREP_APP_TOKEN: ${{ secrets.SEMGREP_APP_TOKEN }}

- name: Upload SARIF file for GitHub Advanced Security Dashboard
uses: github/codeql-action/upload-sarif@v2
with:
sarif_file: semgrep.sarif
if: always()
36 changes: 0 additions & 36 deletions .github/workflows/snyk.yml

This file was deleted.

0 comments on commit 941019e

Please sign in to comment.