ci: add zizmor.yml

This commit is contained in:
RoyalOughtness 2025-08-18 18:29:40 -07:00 committed by GitHub
commit 77e3662fb3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

37
.github/workflows/zizmor.yml vendored Normal file
View file

@ -0,0 +1,37 @@
# Copyright 2025 The Secureblue Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software distributed under the License is
# distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and limitations under the License.
name: GitHub Actions Security Analysis with zizmor 🌈
on:
push:
branches: ["live"]
pull_request:
branches: ["**"]
permissions: {}
jobs:
zizmor:
runs-on: ubuntu-24.04
permissions:
security-events: write
steps:
- name: Checkout repository
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
with:
persist-credentials: false
- name: Run zizmor 🌈
uses: zizmorcore/zizmor-action@5ca5fc7a4779c5263a3ffa0e1f693009994446d1 # v0.1.2
with:
persona: auditor