Inline Licence Info & Copyright for non-test files #563
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# SPDX-License-Identifier: Apache-2.0 | |
# SPDX-FileCopyrightText: 2021 The Elixir Team | |
name: CI for Markdown content | |
on: | |
push: | |
branches: | |
- 'main' | |
paths: | |
- 'lib/**/*.md' | |
pull_request: | |
paths: | |
- 'lib/**/*.md' | |
workflow_dispatch: | |
jobs: | |
lint: | |
name: Lint Markdown content | |
strategy: | |
fail-fast: false | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Check out the repository | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 10 | |
- name: Run markdownlint | |
uses: DavidAnson/markdownlint-cli2-action@v19.1.0 | |
with: | |
globs: | | |
lib/elixir/pages/**/*.md | |
README.md |