Repository navigation
feat: return structured tracebacks from local process workers #166
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: zizmor | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| branches: | |
| - '*' | |
| schedule: | |
| - cron: '0 7 * * 1' | |
| workflow_dispatch: | |
| permissions: {} | |
| jobs: | |
| zizmor: | |
| name: Scan GitHub Actions | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| security-events: write | |
| steps: | |
| - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v6 | |
| with: | |
| persist-credentials: false | |
| - uses: astral-sh/setup-uv@07a047e608db84b3d8c06cd9a7c7dcc9c355c18e # v10.3.2 | |
| with: | |
| enable-cache: true | |
| python-version: '3.13' | |
| - name: Run zizmor | |
| run: uvx --from zizmor zizmor --format=github . | |
| - name: Generate SARIF report | |
| if: always() | |
| run: uvx --from zizmor zizmor --format=sarif --no-exit-codes . > zizmor.sarif | |
| - name: Upload SARIF report | |
| if: > | |
| always() && | |
| (github.event_name != 'pull_request' || | |
| github.event.pull_request.head.repo.full_name == github.repository) | |
| uses: github/codeql-action/upload-sarif@9b3254085494b55a0f7c4c2b3d2d52cc712ce370 # v4 | |
| with: | |
| sarif_file: zizmor.sarif |