Skip to content

Commit

Permalink
chore: configure semgrep ci job
Browse files Browse the repository at this point in the history
  • Loading branch information
jakelacey2012 committed Nov 30, 2022
1 parent a744da0 commit 5a01594
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Expand Up @@ -8,7 +8,7 @@ jobs:

strategy:
matrix:
node-version: [12.x, 14.x, 15.x, 16.x., 18.x]
node-version: [12.x, 14.x, 15.x, 16.x, 18.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/

steps:
Expand Down
18 changes: 18 additions & 0 deletions .github/workflows/semgrep.yml
@@ -0,0 +1,18 @@
name: Semgrep

on:
pull_request_target: {}
push:
branches: ["master", "main"]
jobs:
semgrep:
name: Scan
runs-on: ubuntu-latest
container:
image: returntocorp/semgrep
if: (github.actor != 'dependabot[bot]' && github.actor != 'snyk-bot')
steps:
- uses: actions/checkout@v3
- run: semgrep ci
env:
SEMGREP_APP_TOKEN: ${{ secrets.SEMGREP_APP_TOKEN }}

0 comments on commit 5a01594

Please sign in to comment.