Skip to content
Merged
Show file tree
Hide file tree
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
23 changes: 21 additions & 2 deletions .github/workflows/check-github-actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,14 @@ name: check github actions

on:
workflow_call:
inputs:
zizmor_persona:
type: string
default: "regular"

jobs:
lint_workflows:
name: lint workflows
lint_actionlint:
name: lint workflows with actionlint
runs-on: ubuntu-latest
steps:
- name: Checkout source code
Expand All @@ -17,3 +21,18 @@ jobs:
uses: raven-actions/actionlint@e01d1ea33dd6a5ed517d95b4c0c357560ac6f518
with:
group-result: false

lint_zizmor:
name: lint workflows with zizmor
runs-on: ubuntu-latest
steps:
- name: Checkout source code
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
with:
persist-credentials: false

- name: Lint GitHub Actions workflow files
uses: zizmorcore/zizmor-action@0dce2577a4760a2749d8cfb7a84b7d5585ebcb7d # v0.5.0
with:
advanced-security: false
persona: ${{ inputs.zizmor_persona }}
2 changes: 1 addition & 1 deletion .github/zizmor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ rules:
# This is a first-party, single-maintainer repo used as shared CI
# infrastructure. It intentionally tracks `@main` as a rolling release
# so improvements to reusable scripts are picked up automatically
# across projects. All third-party actions remain strictly ref-pinned.
# across projects. All third-party actions remain strictly hash-pinned.
EarthmanMuons/toolbox-envy/*: ref-pin
Loading