From 96cad821d6a5ef7c4aa5b318398862b2efecb33a Mon Sep 17 00:00:00 2001 From: Oliver Kopp Date: Tue, 18 Aug 2020 11:46:01 +0200 Subject: [PATCH 1/3] Beautify markdown-link-check call --- .github/workflows/check-links.yaml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/check-links.yaml b/.github/workflows/check-links.yaml index 0ef93fc82b3..d2a959564a1 100644 --- a/.github/workflows/check-links.yaml +++ b/.github/workflows/check-links.yaml @@ -10,11 +10,10 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - - name: Prepare markdown-link-check - run: mkdir docs/ROOT && cp CHANGELOG.md README.md docs/ROOT - - uses: gaurav-nelson/github-action-markdown-link-check@v1 + - uses: gaurav-nelson/github-action-markdown-link-check@master with: use-quiet-mode: 'yes' use-verbose-mode: 'no' config-file: 'mlc_config.json' folder-path: 'docs/' + file-path: './CHANGELOG.md, ./README.md' From 119ea9d012c164e2861f377b9b6dbf4a463143ac Mon Sep 17 00:00:00 2001 From: Oliver Kopp Date: Tue, 18 Aug 2020 12:12:26 +0200 Subject: [PATCH 2/3] Check on change of *.md file --- .github/workflows/check-links.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/check-links.yaml b/.github/workflows/check-links.yaml index d2a959564a1..fc983a165a9 100644 --- a/.github/workflows/check-links.yaml +++ b/.github/workflows/check-links.yaml @@ -1,6 +1,9 @@ name: Check external href links in the documentation on: + push: + paths: + - '**.md' schedule: # Run on the first of each month at 9:00 AM (See https://pubs.opengroup.org/onlinepubs/9699919799/utilities/crontab.html#tag_20_25_07) - cron: "0 9 1 * *" From 0e2c77046190b4ed561eec9baa9960eac23c5ab8 Mon Sep 17 00:00:00 2001 From: Oliver Kopp Date: Thu, 27 Aug 2020 22:50:30 +0200 Subject: [PATCH 3/3] Use release vesion --- .github/workflows/check-links.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/check-links.yaml b/.github/workflows/check-links.yaml index fc983a165a9..bfc618d021d 100644 --- a/.github/workflows/check-links.yaml +++ b/.github/workflows/check-links.yaml @@ -13,7 +13,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - - uses: gaurav-nelson/github-action-markdown-link-check@master + - uses: gaurav-nelson/github-action-markdown-link-check@v1 with: use-quiet-mode: 'yes' use-verbose-mode: 'no'