chore(ci): add zizmor (#2529)
Thanks Secureblue! xref: https://github.com/ublue-os/aurora/issues/2528
This commit is contained in:
parent
1b3e16dd4b
commit
69178efe4a
1 changed files with 34 additions and 0 deletions
34
.github/workflows/zizmor.yml
vendored
Normal file
34
.github/workflows/zizmor.yml
vendored
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
# 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@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
|
||||
with:
|
||||
persist-credentials: false
|
||||
|
||||
- name: Run zizmor
|
||||
uses: zizmorcore/zizmor-action@192e21d79ab29983730a13d1382995c2307fbcaa # v0.5.7
|
||||
with:
|
||||
persona: auditor
|
||||
Loading…
Reference in a new issue