Repository navigation
Add build option to skip intersphinx locally, add pixi to .gitignore #1367
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
| # From https://woodruffw.github.io/zizmor/usage/#use-in-github-actions | |
| name: GitHub Actions Security Analysis with zizmor 🌈 | |
| on: | |
| push: | |
| branches: ["main"] | |
| pull_request: | |
| branches: ["**"] | |
| jobs: | |
| zizmor: | |
| name: zizmor latest via PyPI | |
| runs-on: ubuntu-latest | |
| permissions: | |
| security-events: write | |
| # required for workflows in private repositories | |
| contents: read | |
| actions: read | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 | |
| with: | |
| persist-credentials: false | |
| - name: Install the latest version of uv | |
| uses: astral-sh/setup-uv@3259c6206f993105e3a61b142c2d97bf4b9ef83d # v7.1.0 | |
| - name: Run zizmor 🌈 | |
| run: uvx zizmor --format sarif source/guides/github-actions-ci-cd-sample/* > results.sarif | |
| env: | |
| GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| - name: Upload SARIF file | |
| uses: github/codeql-action/upload-sarif@f443b600d91635bebf5b0d9ebc620189c0d6fba5 # v4.30.8 | |
| with: | |
| sarif_file: results.sarif | |
| category: zizmor |