mirror of
https://github.com/curl/curl.git
synced 2025-01-30 14:22:33 +08:00
8b368fa3c9
- github/codeql-action digest to 23acc5c - actions/checkout digest to 692973e - rojopolis/spellcheck-github-actions digest to d354a4d Closes #13935 Closes #13945 Closes #13946
42 lines
1.0 KiB
YAML
42 lines
1.0 KiB
YAML
# Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
|
|
#
|
|
# SPDX-License-Identifier: curl
|
|
|
|
name: Markdown links
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
- '*/ci'
|
|
paths:
|
|
- '.github/workflows/linkcheck.yml'
|
|
- '**.md'
|
|
pull_request:
|
|
branches:
|
|
- master
|
|
paths:
|
|
- '.github/workflows/linkcheck.yml'
|
|
- '**.md'
|
|
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}
|
|
cancel-in-progress: true
|
|
|
|
permissions: {}
|
|
|
|
jobs:
|
|
# Docs: https://github.com/marketplace/actions/markdown-link-check
|
|
check:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
|
|
name: checkout
|
|
|
|
- name: trim the cmdline docs markdown files
|
|
run: find docs/cmdline-opts -name "*.md" ! -name "_*" ! -name MANPAGE.md | xargs -n1 ./.github/scripts/cleancmd.pl
|
|
|
|
- uses: gaurav-nelson/github-action-markdown-link-check@5c5dfc0ac2e225883c0e5f03a85311ec2830d368 # v1
|
|
with:
|
|
use-quiet-mode: 'yes'
|