-
Notifications
You must be signed in to change notification settings - Fork 6
46 lines (40 loc) · 1.16 KB
/
check-markdownlint.yml
File metadata and controls
46 lines (40 loc) · 1.16 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
name: Check markdownlint Configuration
# See: https://docs.github.com/actions/writing-workflows/choosing-when-your-workflow-runs/events-that-trigger-workflows
on:
push:
paths:
- ".github/workflows/check-markdownlint.yml"
- "package.json"
- "package-lock.json"
- "Taskfile.ya?ml"
- "**/.markdownlint*"
pull_request:
paths:
- ".github/workflows/check-markdownlint.yml"
- "package.json"
- "package-lock.json"
- "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@v5
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version-file: package.json
- 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