2022-05-17 17:16:50 +08:00
|
|
|
# Copyright (C) 2000 - 2022 Daniel Stenberg, <daniel@haxx.se>, et al.
|
|
|
|
#
|
|
|
|
# SPDX-License-Identifier: curl
|
|
|
|
|
2021-12-17 06:30:43 +08:00
|
|
|
name: Markdown links
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- master
|
|
|
|
- '*/ci'
|
2022-09-18 03:58:58 +08:00
|
|
|
paths:
|
|
|
|
- '.github/workflows/linkcheck.yml'
|
|
|
|
- '**.md'
|
2021-12-17 06:30:43 +08:00
|
|
|
pull_request:
|
|
|
|
branches:
|
|
|
|
- master
|
2022-09-18 03:58:58 +08:00
|
|
|
paths:
|
|
|
|
- '.github/workflows/linkcheck.yml'
|
|
|
|
- '**.md'
|
2021-12-17 06:30:43 +08:00
|
|
|
|
2022-09-18 05:45:32 +08:00
|
|
|
concurrency:
|
|
|
|
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}
|
|
|
|
cancel-in-progress: true
|
|
|
|
|
2022-11-16 22:55:33 +08:00
|
|
|
permissions: {}
|
|
|
|
|
2021-12-17 06:30:43 +08:00
|
|
|
jobs:
|
2022-05-18 06:03:16 +08:00
|
|
|
# Docs: https://github.com/marketplace/actions/markdown-link-check
|
2021-12-17 06:30:43 +08:00
|
|
|
check:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2022-05-15 05:37:59 +08:00
|
|
|
- uses: actions/checkout@v3
|
2021-12-17 06:30:43 +08:00
|
|
|
- uses: gaurav-nelson/github-action-markdown-link-check@v1
|
|
|
|
with:
|
|
|
|
use-quiet-mode: 'yes'
|