Skip to content

fix: use pwsh for zip upload step to expand env vars correctly #56

fix: use pwsh for zip upload step to expand env vars correctly

fix: use pwsh for zip upload step to expand env vars correctly #56

name: Check GitHub workflow
on:
push:
branches:
- main
paths:
- ".github/workflows/*.yml"
pull_request:
paths:
- ".github/workflows/*.yml"
jobs:
check:
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- name: Checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
persist-credentials: false
- name: Install mise and setup
uses: jdx/mise-action@1648a7812b9aeae629881980618f079932869151 # v4.0.1
with:
install: true
install_args: "actionlint shellcheck github:zizmorcore/zizmor"
cache: true
github_token: ${{ secrets.GITHUB_TOKEN }}
- name: Check
run: mise gh-check