From 38cb6fafe0e0c464c809abf20a6be07479c3814a Mon Sep 17 00:00:00 2001 From: Dongdong Tian Date: Sun, 7 Mar 2021 14:23:18 -0500 Subject: [PATCH 1/3] Exclude more links in Link Checker --- .github/workflows/check-links.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/check-links.yml b/.github/workflows/check-links.yml index ebbc9d11279..7e92c3d8a83 100644 --- a/.github/workflows/check-links.yml +++ b/.github/workflows/check-links.yml @@ -32,6 +32,9 @@ jobs: args: > --accept 429 --exclude "^https://zenodo.org/badge/DOI/$" + --exclude "^https://doi.org/10.5281/zenodo$" + --exclude "^https://doi.org/10.5281/zenodo$" + --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://www.generic-mapping-tools.org/_static/gmt-logo.png/$" @@ -40,6 +43,7 @@ jobs: --exclude "^git" --exclude "^file://" --exclude "^https://docs.generic-mapping-tools.org/latest/%s$" + --exclude "https://hackmd.io/@pygmt" --verbose "repository/**/*.rst" "repository/**/*.md" From 728772afb415ff758544173e9d0b4ef54803a091 Mon Sep 17 00:00:00 2001 From: Dongdong Tian Date: Sun, 7 Mar 2021 14:25:39 -0500 Subject: [PATCH 2/3] Temporarily enable the workflow in PR --- .github/workflows/check-links.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/check-links.yml b/.github/workflows/check-links.yml index 7e92c3d8a83..a07afaa0c58 100644 --- a/.github/workflows/check-links.yml +++ b/.github/workflows/check-links.yml @@ -3,7 +3,7 @@ name: Check Links on: # Uncomment the 'pull_request' line below to trigger the workflow in PR - # pull_request: + pull_request: # Schedule runs on 12 noon every Sunday schedule: - cron: '0 12 * * 0' From b8f7f04c5a2cfc9b3c7994247421f282de9ed600 Mon Sep 17 00:00:00 2001 From: Dongdong Tian Date: Sun, 7 Mar 2021 14:30:59 -0500 Subject: [PATCH 3/3] Disable CI jobs in PRs --- .github/workflows/check-links.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/check-links.yml b/.github/workflows/check-links.yml index a07afaa0c58..7e92c3d8a83 100644 --- a/.github/workflows/check-links.yml +++ b/.github/workflows/check-links.yml @@ -3,7 +3,7 @@ name: Check Links on: # Uncomment the 'pull_request' line below to trigger the workflow in PR - pull_request: + # pull_request: # Schedule runs on 12 noon every Sunday schedule: - cron: '0 12 * * 0'