-
Notifications
You must be signed in to change notification settings - Fork 50
35 lines (29 loc) · 999 Bytes
/
zizmor.yml
File metadata and controls
35 lines (29 loc) · 999 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# SPDX-FileCopyrightText: (C) 2025 Intel Corporation
# SPDX-License-Identifier: MIT
---
name: GitHub Actions Security Analysis with zizmor 🌈
on:
pull_request:
branches: [3.0*,next,26.06*]
permissions: {}
jobs:
run-zizmor-scan:
name: Run Zizmor scan
runs-on: ubuntu-latest
permissions:
contents: read
env:
ZIZMOR_VERSION: 1.5.2
steps:
- name: Checkout repository
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
with:
persist-credentials: false
- name: Install the latest version of uv
uses: astral-sh/setup-uv@c7f87aa956e4c323abf06d5dec078e358f6b4d04 # v6.0.0
- name: Run zizmor 🌈
run: uvx zizmor=="$ZIZMOR_VERSION" "$GITHUB_WORKSPACE" --format sarif > zizmor_scan_report.sarif
- name: Upload SARIF file
uses: github/codeql-action/upload-sarif@60168efe1c415ce0f5521ea06d5c2062adbeed1b # v3.28.17
with:
sarif_file: zizmor_scan_report.sarif