Merge pull request #1584 from brian-team/synapses_linked_variable #76
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: " GitHub Actions Security Analysis with Zizmor" | |
# The scheduled workflow runs every Sunday at 23:45 UTC. | |
on: | |
push: | |
schedule: | |
- cron: '45 23 * * 0' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
permissions: | |
security-events: write | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 | |
with: | |
persist-credentials: false | |
- name: Install the latest version of uv | |
uses: astral-sh/setup-uv@b5f58b2abc5763ade55e4e9d0fe52cd1ff7979ca # v5.2.1 | |
- name: Run zizmor 🌈 | |
run: uvx zizmor --format sarif . > results.sarif | |
env: | |
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
- name: Upload SARIF file | |
uses: github/codeql-action/upload-sarif@v3 | |
with: | |
sarif_file: results.sarif | |
category: zizmor |