Semgrep (Scheduled) #47
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "Semgrep (Scheduled)" | |
# This workflow will run after a push to the main branch and as a scheduled job. | |
on: | |
push: | |
branches: ["master", "main"] | |
schedule: | |
- cron: "30 0 1,15 * *" | |
permissions: {} | |
jobs: | |
semgrep: | |
name: "Scan" | |
runs-on: ubuntu-latest | |
container: | |
image: returntocorp/semgrep | |
steps: | |
- uses: actions/checkout@v3 | |
- run: semgrep ci | |
env: | |
SEMGREP_APP_TOKEN: ${{ secrets.SEMGREP_APP_TOKEN }} |