summaryrefslogtreecommitdiff
path: root/.github/workflows/linkcheck.yml
blob: 18d12990bcf770de0be7a5d82210751d1a4138e0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# 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@v3
    - uses: gaurav-nelson/github-action-markdown-link-check@v1
      with:
        use-quiet-mode: 'yes'