Skip to content

Commit

Permalink
Add Semgrep security code scanning (#482)
Browse files Browse the repository at this point in the history
* Add a semgrep workflow

* fix formatting per prettier
  • Loading branch information
elb-notion authored Jan 12, 2024
1 parent ede416a commit 4477298
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/semgrep.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Security - Semgrep

on:
pull_request: {}
workflow_dispatch: {}
push:
branches-ignore: ["main"]
schedule:
- cron: "20 17 * * *"

jobs:
semgrep:
name: semgrep/ci
runs-on: ubuntu-latest
container:
image: returntocorp/semgrep
timeout-minutes: 480
steps:
- uses: actions/checkout@v3
- run: semgrep ci
env:
SEMGREP_APP_TOKEN: ${{ secrets.SEMGREP }}

0 comments on commit 4477298

Please sign in to comment.