From 0c1619fa19e9e9bacdc407c8e2a4827628df040d Mon Sep 17 00:00:00 2001 From: Kevin Liu Date: Tue, 3 Sep 2024 11:40:17 -0700 Subject: [PATCH 1/3] check md link config --- .github/workflows/check-md-link.yml | 16 +++------------- 1 file changed, 3 insertions(+), 13 deletions(-) diff --git a/.github/workflows/check-md-link.yml b/.github/workflows/check-md-link.yml index c71dc5fd8..8c1203085 100644 --- a/.github/workflows/check-md-link.yml +++ b/.github/workflows/check-md-link.yml @@ -26,17 +26,7 @@ name: Check Markdown links -on: - push: - paths: - - '*.md' # Top-level .md files - - docs/** - - regtests/README.md - - regtests/client/python/docs/** - - regtests/client/python/README.md - branches: - - 'main' - pull_request: +on: push jobs: markdown-link-check: @@ -45,6 +35,6 @@ jobs: - uses: actions/checkout@master - uses: gaurav-nelson/github-action-markdown-link-check@v1 with: + use-quiet-mode: 'yes' config-file: '.github/workflows/check-md-link-config.json' - folder-path: '., docs, regtests, regtests/client/python/docs, regtests/client/python' - use-quiet-mode: true + folder-path: '.' # checks all md files From e91bf9ebf9e72c34dbe65d046266a7171980b386 Mon Sep 17 00:00:00 2001 From: Kevin Liu Date: Tue, 3 Sep 2024 11:44:51 -0700 Subject: [PATCH 2/3] Revert "Temporarily disable external link checking (#178)" This reverts commit ee6a9395153134800435d876abcaccecfbc539ee. --- .github/workflows/check-md-link-config.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/check-md-link-config.json b/.github/workflows/check-md-link-config.json index 82bfe6a5e..17ebbff66 100644 --- a/.github/workflows/check-md-link-config.json +++ b/.github/workflows/check-md-link-config.json @@ -1,7 +1,7 @@ { "ignorePatterns": [ { - "pattern": "^https?://(localhost|polaris.apache.org).*" + "pattern": "^https?://localhost.*" }, { "_comment": "mvnrepository blocks requests originating from GitHub Actions", From 4b3c442ca56efce190923424045c0e820904336b Mon Sep 17 00:00:00 2001 From: Kevin Liu Date: Tue, 3 Sep 2024 12:07:09 -0700 Subject: [PATCH 3/3] push main and pr --- .github/workflows/check-md-link.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/check-md-link.yml b/.github/workflows/check-md-link.yml index 8c1203085..cb0c0d34c 100644 --- a/.github/workflows/check-md-link.yml +++ b/.github/workflows/check-md-link.yml @@ -26,7 +26,11 @@ name: Check Markdown links -on: push +on: + push: + branches: + - 'main' + pull_request: jobs: markdown-link-check: