diff --git a/.github/workflows/check-links.yml b/.github/workflows/check-links.yml index bfb147a8890..bf7a9ca5346 100644 --- a/.github/workflows/check-links.yml +++ b/.github/workflows/check-links.yml @@ -42,26 +42,22 @@ jobs: # 429: Too many requests args: > --accept 429 - --exclude "^https://doi.org/10.5281/zenodo$" - --exclude "^https://zenodo.org/badge/DOI/$" - --exclude "^https://zenodo.org/badge/DOI/10.5281/zenodo$" - --exclude "^https://github.com/GenericMappingTools/pygmt/pull/[0-9]*$" - --exclude "^https://github.com/GenericMappingTools/pygmt/issues/[0-9]*$" + --exclude "^https://docs.generic-mapping-tools.org/6.[0-9]?/%s$" + --exclude "^https://docs.generic-mapping-tools.org/6.[0-9]?/%3Cmodule-name%3E.html$" + --exclude "^https://doi.org" --exclude "^https://github.com/GenericMappingTools/gmt/releases/tag/X.Y.Z$" --exclude "^https://github.com/GenericMappingTools/pygmt/edit" --exclude "^https://github.com/GenericMappingTools/pygmt/issues/new" + --exclude "^https://github.com/GenericMappingTools/pygmt/pull/[0-9]*$" + --exclude "^https://github.com/GenericMappingTools/pygmt/issues/[0-9]*$" --exclude "^https://github.com/GenericMappingTools/pygmt/releases/tag/%7B%7Bpath%7D%7D" - --exclude "^https://www.pygmt.org/%7B%7Bpath%7D%7D" - --exclude "^git" - --exclude "^file://" - --exclude "https://www.adobe.com/jp/print/postscript/pdfs/PLRM.pdf" - --exclude "^https://docs.generic-mapping-tools.org/6.5/%s$" - --exclude "^https://docs.generic-mapping-tools.org/6.5/%3Cmodule-name%3E.html$" - --exclude "^https://www.generic-mapping-tools.org/remote-datasets/%s$" --exclude "^https://hackmd.io/@pygmt" - --exclude "^https://doi.org" - --exclude "^https://www.researchgate.net/" --exclude "^https://test.pypi.org/simple/" + --exclude "^https://www.adobe.com/jp/print/postscript/pdfs/PLRM.pdf" + --exclude "^https://www.generic-mapping-tools.org/remote-datasets/%s$" + --exclude "^https://www.pygmt.org/%7B%7Bpath%7D%7D" + --exclude "^https://www.researchgate.net/" + --exclude "^https://zenodo.org/badge/DOI/" --verbose "repository/**/*.rst" "repository/**/*.md"