Skip to content

Merge pull request #138 from chainguard-dev/dependabot/github_actions… #11

Merge pull request #138 from chainguard-dev/dependabot/github_actions…

Merge pull request #138 from chainguard-dev/dependabot/github_actions… #11

Workflow file for this run

# Copyright 2026 Chainguard, Inc.
# SPDX-License-Identifier: Apache-2.0
name: Zizmor
on:
pull_request:
branches: ['main']
paths:
- '.github/workflows/**'
- '.github/actions/**'
push:
branches: ['main']
paths:
- '.github/workflows/**'
- '.github/actions/**'
permissions: {}
jobs:
zizmor:
name: Zizmor
runs-on: ubuntu-latest
permissions:
actions: read # Required by codeql-action/upload-sarif to get workflow run info
contents: read # Clone the repository
security-events: write # Upload SARIF results to Code Scanning
steps:
- uses: step-security/harden-runner@ab7a9404c0f3da075243ca237b5fac12c98deaa5 # v2.19.3
with:
egress-policy: block
allowed-endpoints: >
api.github.com:443
github.com:443
pkg-containers.githubusercontent.com:443
ghcr.io
- name: Check out code
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
persist-credentials: false
- name: Run zizmor
uses: zizmorcore/zizmor-action@5f14fd08f7cf1cb1609c1e344975f152c7ee938d # v0.5.6