Bump the patches-and-minor-upgrades group with 2 updates #728
Workflow file for this run
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 | |
on: | |
push: | |
branches: | |
- master | |
schedule: | |
- cron: '20 6 * * *' | |
pull_request: | |
jobs: | |
semgrep: | |
name: Run security scan | |
runs-on: ubuntu-latest | |
container: | |
image: returntocorp/semgrep | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Run semgrep (PR) | |
if: ${{ github.event_name == 'pull_request' }} | |
run: | | |
semgrep scan \ | |
--error \ | |
--metrics=off \ | |
--config="p/default" | |
- name: Run semgrep | |
if: ${{ github.event_name != 'pull_request' }} | |
run: semgrep ci | |
env: | |
SEMGREP_APP_TOKEN: ${{ secrets.SEMGREP_APP_TOKEN }} |