linkcheck.yml 739 B

12345678910111213141516171819202122232425262728293031323334
  1. # Copyright (C) 2000 - 2022 Daniel Stenberg, <daniel@haxx.se>, et al.
  2. #
  3. # SPDX-License-Identifier: curl
  4. name: Markdown links
  5. on:
  6. push:
  7. branches:
  8. - master
  9. - '*/ci'
  10. paths:
  11. - '.github/workflows/linkcheck.yml'
  12. - '**.md'
  13. pull_request:
  14. branches:
  15. - master
  16. paths:
  17. - '.github/workflows/linkcheck.yml'
  18. - '**.md'
  19. concurrency:
  20. group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}
  21. cancel-in-progress: true
  22. jobs:
  23. # Docs: https://github.com/marketplace/actions/markdown-link-check
  24. check:
  25. runs-on: ubuntu-latest
  26. steps:
  27. - uses: actions/checkout@v3
  28. - uses: gaurav-nelson/github-action-markdown-link-check@v1
  29. with:
  30. use-quiet-mode: 'yes'