[pre-commit.ci] pre-commit autoupdate #1563
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
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
on: | |
workflow_dispatch: {} | |
pull_request: {} | |
push: | |
branches: | |
- main | |
paths: | |
- .github/workflows/semgrep.yml | |
schedule: | |
# random HH:MM to avoid a load spike on GitHub Actions at 00:00 | |
- cron: 55 8 * * * | |
# Declare default permissions as read only. | |
permissions: read-all | |
name: Semgrep | |
jobs: | |
semgrep: | |
name: semgrep/ci | |
runs-on: ubuntu-22.04 | |
env: | |
SEMGREP_APP_TOKEN: ${{ secrets.SEMGREP_APP_TOKEN }} | |
container: | |
image: returntocorp/semgrep@sha256:f35c7891e2030110a84a721fdd556ce8f3da6e7e69d7fab1d3660ae1bb334474 | |
steps: | |
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 | |
- run: semgrep ci |