chore: bump actions/checkout from 5.0.0 to 6.0.0 #1240
Workflow file for this run
This file contains hidden or 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: Security | |
| on: | |
| push: | |
| branches: ["main"] | |
| pull_request: | |
| branches: ["main"] | |
| schedule: | |
| - cron: "0 0 * * 1" # every Monday at 00:00 UTC | |
| jobs: | |
| osv-scanner: | |
| if: "!startsWith(github.event.head_commit.message, 'bump:')" | |
| runs-on: ubuntu-latest | |
| container: | |
| image: ghcr.io/google/osv-scanner:v2.1.0@sha256:9a1ba57d2a1506c9e9d0dfbeaf46346507e829745b70d47d77e12c38e66de8d7 | |
| steps: | |
| - uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0 | |
| - name: Run OSV Scanner | |
| run: | | |
| /osv-scanner --format table -r . | |
| semgrep: | |
| if: github.event_name != 'schedule' && !startsWith(github.event.head_commit.message, 'bump:') | |
| runs-on: ubuntu-latest | |
| container: | |
| image: returntocorp/semgrep:1.128.1@sha256:144d315f7354c2b2c53021a76165a500f67252c47464be75e951b67050f54a9e | |
| steps: | |
| - uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0 | |
| - name: Run Semgrep | |
| run: | | |
| semgrep scan --config auto | |
| twyn: | |
| if: github.event_name != 'schedule' && !startsWith(github.event.head_commit.message, 'bump:') | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0 | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@1e862dfacbd1d6d858c55d9b792c756523627244 # v7.1.4 | |
| - name: Install the project | |
| run: uv sync --locked --extra cli | |
| - name: Run Twyn against our dependencies | |
| run: | | |
| uv run twyn --version | |
| uv run twyn run -vv |