name: CI on: push: paths: - ".github/workflows/**" branches: - main - 3.x pull_request: paths: - ".github/workflows/**" branches: - main - 3.x - "!v[0-9]*" permissions: contents: read jobs: lint-workflows: runs-on: ubuntu-latest steps: - uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1 # From https://github.com/rhysd/actionlint/blob/main/docs/usage.md#use-actionlint-on-github-actions - name: Check workflow files uses: docker://rhysd/actionlint:1.7.3@sha256:7617f05bd698cd2f1c3aedc05bc733ccec92cca0738f3e8722c32c5b42c70ae6 with: args: -color