mirror of
https://gh.wpcy.net/https://github.com/szepeviktor/wordpress-website-lifecycle.git
synced 2026-04-24 03:24:39 +08:00
37 lines
913 B
YAML
37 lines
913 B
YAML
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow
|
|
|
|
name: "Docs"
|
|
|
|
on: # yamllint disable-line rule:truthy
|
|
pull_request:
|
|
paths:
|
|
- "**/*.md"
|
|
- ".markdownlint-cli2.yaml"
|
|
push:
|
|
branches:
|
|
- "master"
|
|
paths:
|
|
- "**/*.md"
|
|
- ".markdownlint-cli2.yaml"
|
|
# Add [skip ci] to commit message to skip CI.
|
|
|
|
permissions: {} # yamllint disable-line rule:braces
|
|
|
|
concurrency:
|
|
group: "${{ github.workflow }}-${{ github.ref }}"
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
markdown:
|
|
name: "Markdown"
|
|
runs-on: "ubuntu-22.04"
|
|
timeout-minutes: 1
|
|
steps:
|
|
-
|
|
name: "Checkout repository"
|
|
uses: "actions/checkout@v3"
|
|
-
|
|
name: "Check Markdown documents"
|
|
uses: "DavidAnson/markdownlint-cli2-action@v11"
|
|
with:
|
|
globs: "**/*.md"
|