# SPDX-License-Identifier: Apache-2.0 # SPDX-FileCopyrightText: 2021 The Elixir Team name: Markdown Content on: push: branches: - "main" paths: &paths-filter - "**/*.md" - .github/workflows/markdown.yml - .markdownlint-cli2.jsonc pull_request: paths: *paths-filter workflow_dispatch: permissions: contents: read env: LANG: C.UTF-8 jobs: lint: name: Lint Markdown content runs-on: ubuntu-latest strategy: fail-fast: false steps: - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: persist-credentials: false - name: Run markdownlint-cli2 uses: DavidAnson/markdownlint-cli2-action@21c1be1b93ad9ed58fa840aacc3f279cde2a72ff # v24.2.0