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@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0 # 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.2@sha256:89d3f90f82781dee3c8724651129634b08cf2241bbd67fcd02a1c5198119fc5e with: args: -color