linkcheck.yml 744 B

123456789101112131415161718192021222324252627282930313233343536
  1. # Copyright (C) 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. permissions: {}
  23. jobs:
  24. # Docs: https://github.com/marketplace/actions/markdown-link-check
  25. check:
  26. runs-on: ubuntu-latest
  27. steps:
  28. - uses: actions/checkout@v4
  29. - uses: gaurav-nelson/github-action-markdown-link-check@v1
  30. with:
  31. use-quiet-mode: 'yes'