Skip to content

ci: resolve zizmor findings in repo-specific workflows #113

ci: resolve zizmor findings in repo-specific workflows

ci: resolve zizmor findings in repo-specific workflows #113

name: Check GitHub workflow
on:
push:
branches:
- main
paths:
- ".github/workflows/*.yml"
- "mise.lock"
pull_request:
paths:
- ".github/workflows/*.yml"
- "mise.lock"
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions: {}
jobs:
check:
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- name: Checkout
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
with:
persist-credentials: false
- name: Install mise and setup
uses: jdx/mise-action@dba19683ed58901619b14f395a24841710cb4925 # v4.1.0
with:
install: true
install_args: "actionlint shellcheck zizmor"
cache: true
github_token: ${{ secrets.GITHUB_TOKEN }}
env:
MISE_LOCKED: "1"
- name: Check
run: mise gh-check