Skip to content

Commit e114a64

Browse files
Copilotjkowalleck
andauthored
chore: add zizmor workflow for GitHub Actions security analysis
Agent-Logs-Url: https://github.com/CycloneDX/cyclonedx-python-lib/sessions/f5512c78-6b6d-46ca-adf5-4cf6045187b0 Co-authored-by: jkowalleck <2765863+jkowalleck@users.noreply.github.com>
1 parent 8392d36 commit e114a64

1 file changed

Lines changed: 36 additions & 0 deletions

File tree

.github/workflows/zizmor.yml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
# Analyzes all GitHub Actions workflows for security issues using zizmor.
2+
# docs: https://docs.zizmor.sh/
3+
name: Workflow Security Analysis (zizmor)
4+
5+
on:
6+
pull_request:
7+
paths:
8+
- ".github/workflows/**"
9+
schedule:
10+
# Every Saturday at 00:00 UTC
11+
- cron: "0 0 * * 6"
12+
13+
concurrency:
14+
group: ${{ github.workflow }}-${{ github.ref }}
15+
cancel-in-progress: true
16+
17+
permissions:
18+
contents: read
19+
20+
jobs:
21+
zizmor:
22+
name: zizmor
23+
runs-on: ubuntu-latest
24+
timeout-minutes: 10
25+
steps:
26+
- name: Checkout
27+
# see https://github.com/actions/checkout
28+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
29+
with:
30+
persist-credentials: false
31+
- name: Run zizmor
32+
# see https://github.com/zizmorcore/zizmor-action
33+
uses: zizmorcore/zizmor-action@b1d7e1fb5de872772f31590499237e7cce841e8e # v0.5.3
34+
with:
35+
advanced-security: false
36+
annotations: true

0 commit comments

Comments
 (0)