Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 32 additions & 0 deletions .github/workflows/zizmor.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Security

Check warning on line 1 in .github/workflows/zizmor.yml

View workflow job for this annotation

GitHub Actions / Lint Check (shell, python, yaml)

1:1 [document-start] missing document start "---"
Copy link

Copilot AI Mar 30, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All other YAML files in the repo (e.g. .github/workflows/main.yml, issue templates) start with a YAML document marker (---). This new workflow omits it, which can cause yamllint (run in CI against .github/) to fail depending on the configured/default rules. Consider adding --- as the first line to match the existing convention and avoid lint failures.

Copilot uses AI. Check for mistakes.

on:

Check warning on line 3 in .github/workflows/zizmor.yml

View workflow job for this annotation

GitHub Actions / Lint Check (shell, python, yaml)

3:1 [truthy] truthy value should be one of [false, true]
push:
branches:
- main
paths:
- ".github/workflows/**"
pull_request:
branches:
- "**"
paths:
- ".github/workflows/**"

permissions: {}

jobs:
zizmor:
name: Scan GitHub Actions workflows
runs-on: ubuntu-latest
permissions:
security-events: write
contents: read
actions: read
steps:
- name: Checkout repository
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1

Check warning on line 27 in .github/workflows/zizmor.yml

View workflow job for this annotation

GitHub Actions / Lint Check (shell, python, yaml)

27:73 [comments] too few spaces before comment: expected 2
with:
persist-credentials: false

- name: Run zizmor
uses: zizmorcore/zizmor-action@e639db99335bc9038abc0e066dfcd72e23d26fb4 # v0.3.0

Check failure on line 32 in .github/workflows/zizmor.yml

View workflow job for this annotation

GitHub Actions / Lint Check (shell, python, yaml)

32:89 [new-line-at-end-of-file] no new line character at the end of file

Check failure on line 32 in .github/workflows/zizmor.yml

View workflow job for this annotation

GitHub Actions / Lint Check (shell, python, yaml)

32:81 [line-length] line too long (88 > 80 characters)
Loading