mirror of
https://github.com/neovim/neovim.git
synced 2026-04-03 14:19:27 +00:00
Add workflow that runs Zizmor, a static analysis tool for GitHub Actions. This will automatically flag various common security issues with CI workflows.
25 lines
608 B
YAML
25 lines
608 B
YAML
name: 'security: zizmor GHA analyzer'
|
|
|
|
on:
|
|
push:
|
|
branches: ["master"]
|
|
pull_request:
|
|
branches: ["**"]
|
|
|
|
permissions: {}
|
|
|
|
jobs:
|
|
zizmor:
|
|
name: Run zizmor
|
|
runs-on: ubuntu-latest
|
|
permissions:
|
|
security-events: write # Required for upload-sarif (used by zizmor-action) to upload SARIF files.
|
|
steps:
|
|
- name: Checkout repository
|
|
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
|
with:
|
|
persist-credentials: false
|
|
|
|
- name: Run zizmor
|
|
uses: zizmorcore/zizmor-action@71321a20a9ded102f6e9ce5718a2fcec2c4f70d8 # v0.5.2
|