Skip to content

Work around GitHub bug #4

Work around GitHub bug

Work around GitHub bug #4

Workflow file for this run

# yaml-language-server: $schema=https://json.schemastore.org/github-workflow
name: "Markdown"
on: # yamllint disable-line rule:truthy
pull_request:
paths:
- "**/*.html"
- "**/*.md"
- ".lycheeignore"
- ".markdownlint-cli2.yaml"
push:
branches:
- "master"
paths:
- "**/*.html"
- "**/*.md"
- ".lycheeignore"
- ".markdownlint-cli2.yaml"
workflow_call: null
# Add [skip ci] to commit message to skip CI.
permissions: {} # yamllint disable-line rule:braces
#permissions: "read-all"
#permissions:
# contents: "read" # Private repositories need read permission
concurrency:
group: "${{ github.workflow }}-${{ github.ref }}"
cancel-in-progress: true
jobs:
markdown_format:
name: "Markdown format"
runs-on: "ubuntu-22.04"
timeout-minutes: 1
steps:
-
name: "Checkout repository"
uses: "actions/[email protected]"
-
name: "Check Markdown formatting"
uses: "DavidAnson/[email protected]"
with:
globs: "**/*.md"
links:
name: "Links"
runs-on: "ubuntu-22.04"
timeout-minutes: 10
steps:
-
name: "Checkout repository"
uses: "actions/[email protected]"
-
name: "Run Lychee"
uses: "lycheeverse/[email protected]"
with:
output: "${{ runner.temp }}/lychee/out.md"
fail: true