master-server/deps/curl/.github/workflows/linkcheck.yml

42 lines
965 B
YAML
Raw Normal View History

2023-12-11 20:30:44 -05:00
# Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
#
# SPDX-License-Identifier: curl
name: Markdown links
on:
push:
branches:
2024-05-15 15:20:32 -04:00
- master
- '*/ci'
2023-12-11 20:30:44 -05:00
paths:
2024-05-15 15:20:32 -04:00
- '.github/workflows/linkcheck.yml'
- '**.md'
2023-12-11 20:30:44 -05:00
pull_request:
branches:
2024-05-15 15:20:32 -04:00
- master
2023-12-11 20:30:44 -05:00
paths:
2024-05-15 15:20:32 -04:00
- '.github/workflows/linkcheck.yml'
- '**.md'
2023-12-11 20:30:44 -05:00
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:
2024-05-15 15:20:32 -04:00
- uses: actions/checkout@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@v1
with:
use-quiet-mode: 'yes'