Skip to content

chore: docs publishing permissions #21

chore: docs publishing permissions

chore: docs publishing permissions #21

name: GitHub Actions Quality
on:
pull_request:
paths:
- ".github/**"
push:
branches:
- main
paths:
- ".github/**"
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions:
contents: read
env:
UV_VERSION: "0.9.4"
jobs:
zizmor:
name: zizmor
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
with:
persist-credentials: false
- name: Install uv
uses: astral-sh/setup-uv@37802adc94f370d6bfd71619e3f0bf239e1f3b78 # v7
with:
version: ${{ env.UV_VERSION }}
- name: Run zizmor
run: uvx zizmor --pedantic .github
actionlint:
name: actionlint
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
with:
persist-credentials: false
- name: Run actionlint
env:
ACTIONLINT_VERSION: "1.7.7"
run: |
curl -sL "https://github.com/rhysd/actionlint/releases/download/v${ACTIONLINT_VERSION}/actionlint_${ACTIONLINT_VERSION}_linux_amd64.tar.gz" \
| tar xz actionlint
./actionlint