name: GitHub Actions Security on: push: branches: - main pull_request: branches: - main merge_group: schedule: - cron: "11 3 * * 1" workflow_dispatch: permissions: contents: read jobs: zizmor: name: zizmor runs-on: ubuntu-latest timeout-minutes: 10 permissions: contents: read actions: read security-events: write steps: - name: Checkout uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7 with: persist-credentials: false # Zizmor's SARIF integration publishes GitHub Code Scanning results. # It remains here while portable actionlint runs with Gitea CI, but scans # both workflow directories through its GitHub Actions rule set. - name: Run zizmor uses: zizmorcore/zizmor-action@85b2b9fb8e3325e7a23d7d0a9d7ba5ae0f999e3e # v0.7.1 with: persona: regular inputs: | .github/workflows .gitea/workflows