Skip to content

Commit

Permalink
Update semgrep.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
evansims authored Jun 22, 2022
1 parent ca414d2 commit 7ff831a
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions .github/workflows/semgrep.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,22 +4,25 @@ on:
pull_request: {}

push:
branches: ["master", "main"]
branches:
- master
- main

schedule:
- cron: '30 0 1,15 * *'
- cron: '0 * * * *'

jobs:
semgrep:
name: Scan
runs-on: ubuntu-latest
container:
image: returntocorp/semgrep
# Skip any PR created by dependabot to avoid permission issues
if: (github.actor != 'dependabot[bot]')
if: (github.repository_owner == 'auth0-samples')

steps:
- uses: actions/checkout@v3

- run: semgrep ci
- if: (github.actor != 'dependabot[bot]')
run: semgrep ci
env:
SEMGREP_APP_TOKEN: ${{ secrets.SEMGREP_APP_TOKEN }}

0 comments on commit 7ff831a

Please sign in to comment.