Skip to content

Commit

Permalink
Trying semgrep in actions
Browse files Browse the repository at this point in the history
  • Loading branch information
pirxthepilot committed Dec 5, 2022
1 parent b943c46 commit 4647b68
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,3 +49,18 @@ jobs:

- name: Run tests
run: hatch run test-all

semgrep:
name: Semgrep Scan
runs-on: ubuntu-latest
container:
image: returntocorp/semgrep

# Skip any PR created by dependabot to avoid permission issues:
if: (github.actor != 'dependabot[bot]')

steps:
- uses: actions/checkout@v3
- run: semgrep ci
env:
SEMGREP_APP_TOKEN: ${{ secrets.SEMGREP_APP_TOKEN }}

0 comments on commit 4647b68

Please sign in to comment.