34 lines
844 B
YAML
34 lines
844 B
YAML
# SPDX-FileCopyrightText: Copyright 2025-2026 The Secureblue Authors
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
name: GitHub Actions Security Analysis with zizmor
|
|
|
|
on:
|
|
push:
|
|
branches: ["main"]
|
|
pull_request:
|
|
branches: ["**"]
|
|
|
|
permissions: {}
|
|
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
zizmor:
|
|
name: Zizmor
|
|
runs-on: ubuntu-26.04
|
|
permissions:
|
|
security-events: write # write findings to github
|
|
steps:
|
|
- name: Checkout repository
|
|
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
with:
|
|
persist-credentials: false
|
|
|
|
- name: Run zizmor
|
|
uses: zizmorcore/zizmor-action@45d7276c9ca790aabd705e31ca99c6185c3e76dd # v0.8.1
|
|
with:
|
|
persona: auditor
|