Skip to content

Lint workflow: Sparse checkout .github/workflows only #63

Lint workflow: Sparse checkout .github/workflows only

Lint workflow: Sparse checkout .github/workflows only #63

Workflow file for this run

# Taken from https://github.com/typisttech/.github/blob/8c3b859e35165a6e81a660713be195ec61d2ca1d/.github/workflows/lint-actions.yml
name: Lint GitHub Actions
on:
pull_request:
branches:
- main
push:
branches:
- main
workflow_call:
permissions:
contents: read
jobs:
actionlint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
with:
persist-credentials: false
sparse-checkout: .github/workflows
sparse-checkout-cone-mode: false
- name: Check workflow files
uses: docker://rhysd/actionlint:latest
with:
args: -color