documentation.yaml 736 B

1234567891011121314151617181920212223
  1. name: "Infra: Docs: URL linter"
  2. on:
  3. pull_request:
  4. types:
  5. - opened
  6. - labeled
  7. - reopened
  8. - synchronize
  9. paths:
  10. - 'documentation/**'
  11. - '**.md'
  12. jobs:
  13. build-and-test:
  14. runs-on: ubuntu-latest
  15. steps:
  16. - uses: actions/checkout@v3
  17. - name: Check URLs in files
  18. uses: urlstechie/urlchecker-action@0.0.34
  19. with:
  20. exclude_patterns: localhost,127.0.,192.168.
  21. exclude_urls: https://api.server,https://graph.microsoft.com/User.Read,https://dev-a63ggcut.auth0.com/,http://main-schema-registry:8081,http://schema-registry:8081,http://another-yet-schema-registry:8081,http://another-schema-registry:8081
  22. print_all: false
  23. file_types: .md