Skip to content

Commit 0bc1ee4

Browse files
authored
CI: Sort URLs alphabetically and remove/merge some URLs in the "Check Links" workflow (#3536)
1 parent 47fa2c8 commit 0bc1ee4

File tree

1 file changed

+10
-14
lines changed

1 file changed

+10
-14
lines changed

.github/workflows/check-links.yml

Lines changed: 10 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -42,26 +42,22 @@ jobs:
4242
# 429: Too many requests
4343
args: >
4444
--accept 429
45-
--exclude "^https://doi.org/10.5281/zenodo$"
46-
--exclude "^https://zenodo.org/badge/DOI/$"
47-
--exclude "^https://zenodo.org/badge/DOI/10.5281/zenodo$"
48-
--exclude "^https://github.com/GenericMappingTools/pygmt/pull/[0-9]*$"
49-
--exclude "^https://github.com/GenericMappingTools/pygmt/issues/[0-9]*$"
45+
--exclude "^https://docs.generic-mapping-tools.org/6.[0-9]?/%s$"
46+
--exclude "^https://docs.generic-mapping-tools.org/6.[0-9]?/%3Cmodule-name%3E.html$"
47+
--exclude "^https://doi.org"
5048
--exclude "^https://github.com/GenericMappingTools/gmt/releases/tag/X.Y.Z$"
5149
--exclude "^https://github.com/GenericMappingTools/pygmt/edit"
5250
--exclude "^https://github.com/GenericMappingTools/pygmt/issues/new"
51+
--exclude "^https://github.com/GenericMappingTools/pygmt/pull/[0-9]*$"
52+
--exclude "^https://github.com/GenericMappingTools/pygmt/issues/[0-9]*$"
5353
--exclude "^https://github.com/GenericMappingTools/pygmt/releases/tag/%7B%7Bpath%7D%7D"
54-
--exclude "^https://www.pygmt.org/%7B%7Bpath%7D%7D"
55-
--exclude "^git"
56-
--exclude "^file://"
57-
--exclude "https://www.adobe.com/jp/print/postscript/pdfs/PLRM.pdf"
58-
--exclude "^https://docs.generic-mapping-tools.org/6.5/%s$"
59-
--exclude "^https://docs.generic-mapping-tools.org/6.5/%3Cmodule-name%3E.html$"
60-
--exclude "^https://www.generic-mapping-tools.org/remote-datasets/%s$"
6154
--exclude "^https://hackmd.io/@pygmt"
62-
--exclude "^https://doi.org"
63-
--exclude "^https://www.researchgate.net/"
6455
--exclude "^https://test.pypi.org/simple/"
56+
--exclude "^https://www.adobe.com/jp/print/postscript/pdfs/PLRM.pdf"
57+
--exclude "^https://www.generic-mapping-tools.org/remote-datasets/%s$"
58+
--exclude "^https://www.pygmt.org/%7B%7Bpath%7D%7D"
59+
--exclude "^https://www.researchgate.net/"
60+
--exclude "^https://zenodo.org/badge/DOI/"
6561
--verbose
6662
"repository/**/*.rst"
6763
"repository/**/*.md"

0 commit comments

Comments
 (0)