Debian Codegraph @

.github/workflows/semgrep.yml

raw
1 on:
2 pull_request: {}
3 push:
4 branches:
5 - main
6 - master
7 paths:
8 - .github/workflows/semgrep.yml
9 schedule:
10 # random HH:MM to avoid a load spike on GitHub Actions at 00:00
11 - cron: 44 6 * * *
12 workflow_dispatch:
13
14 name: Semgrep
15
16 permissions:
17 contents: read
18
19 jobs:
20 semgrep:
21 name: Scan
22 runs-on: blacksmith-4vcpu-ubuntu-2204
23 env:
24 SEMGREP_APP_TOKEN: ${{ secrets.SEMGREP_APP_TOKEN }}
25 container:
26 image: returntocorp/semgrep
27 steps:
28 - uses: actions/checkout@v6
29 - run: semgrep ci