Skip to content

Commit

Permalink
Add Semgrep CI
Browse files Browse the repository at this point in the history
  • Loading branch information
semgrep-bot committed Jan 31, 2024
1 parent 5ce6915 commit e223bcb
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions .github/workflows/semgrep.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
name: Semgrep
on:
workflow_dispatch: {}
pull_request: {}
push:
branches:
- main
- master
- main
- master
paths:
- .github/workflows/semgrep.yml
- .github/workflows/semgrep.yml
schedule:
# random HH:MM to avoid a load spike on GitHub Actions at 00:00
- cron: '18 13 * * *'
# random HH:MM to avoid a load spike on GitHub Actions at 00:00
- cron: 58 15 * * *
name: Semgrep
jobs:
semgrep:
name: semgrep/ci
Expand All @@ -19,7 +19,6 @@ jobs:
SEMGREP_APP_TOKEN: ${{ secrets.SEMGREP_APP_TOKEN }}
container:
image: returntocorp/semgrep
if: (github.actor != 'dependabot[bot]')
steps:
- uses: actions/checkout@v3
- run: semgrep ci
- uses: actions/checkout@v3
- run: semgrep ci

0 comments on commit e223bcb

Please sign in to comment.