Debian Codegraph @

.github/workflows/semgrep.yml

raw
1 name: Semgrep
2 on:
3 workflow_dispatch: {}
4 pull_request: {}
5 push:
6 branches:
7 - main
8 - master
9 paths:
10 - .github/workflows/semgrep.yml
11 schedule:
12 # random HH:MM to avoid a load spike on GitHub Actions at 00:00
13 - cron: '12 15 * * *'
14 jobs:
15 semgrep:
16 name: semgrep/ci
17 runs-on: ubuntu-latest
18 permissions:
19 contents: read
20 env:
21 SEMGREP_APP_TOKEN: ${{ secrets.SEMGREP_APP_TOKEN }}
22 container:
23 image: semgrep/semgrep
24 if: (github.actor != 'dependabot[bot]')
25 steps:
26 - uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
27 - run: semgrep ci --exclude=www