Check markdownlint Configuration #196
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
name: Check markdownlint Configuration | |
# See: https://docs.github.com/actions/using-workflows/events-that-trigger-workflows | |
on: | |
push: | |
paths: | |
- ".github/workflows/check-markdownlint.yml" | |
- "Taskfile.ya?ml" | |
- "**/.markdownlint*" | |
pull_request: | |
paths: | |
- ".github/workflows/check-markdownlint.yml" | |
- "Taskfile.ya?ml" | |
- "**/.markdownlint*" | |
schedule: | |
# Run periodically to catch breakage caused by external changes. | |
- cron: "0 19 * * WED" | |
workflow_dispatch: | |
repository_dispatch: | |
jobs: | |
validate: | |
runs-on: ubuntu-latest | |
permissions: {} | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Install Task | |
uses: arduino/setup-task@v2 | |
with: | |
repo-token: ${{ secrets.GITHUB_TOKEN }} | |
version: 3.x | |
- name: Validate markdownlint configuration files | |
run: task markdownlint:validate |