Skip to content

Commit

Permalink
Merge pull request #705 from ava-labs/security-replace-snyk
Browse files Browse the repository at this point in the history
Replace Snyk with Semgrep
  • Loading branch information
geoff-vball authored Jan 22, 2025
2 parents 9c7dfe8 + c149e1b commit d2fec79
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_PUB }}

- 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 d2fec79

Please sign in to comment.