From a60e08d2cc966a2e0e8a8f9e820b836dcfbde5cd Mon Sep 17 00:00:00 2001 From: mahula Date: Tue, 9 Jan 2024 13:49:28 +0100 Subject: [PATCH 1/8] exclude changelog file frommarkdown link checking --- .github/workflows/check-documentation.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/check-documentation.yml b/.github/workflows/check-documentation.yml index c078da16d..5d00d6de8 100644 --- a/.github/workflows/check-documentation.yml +++ b/.github/workflows/check-documentation.yml @@ -38,4 +38,5 @@ jobs: check-modified-files-only: 'no' config-file: '.github/workflows/mlc_config.json' base-branch: 'master' + file-path: '!./CHANGELOG.md' folder-path: '.' From 6b5dfb0bbdff1699d127cc2507d417c944b17a76 Mon Sep 17 00:00:00 2001 From: mahula Date: Tue, 9 Jan 2024 13:51:55 +0100 Subject: [PATCH 2/8] enableverbose markdown link checking for testing --- .github/workflows/check-documentation.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/check-documentation.yml b/.github/workflows/check-documentation.yml index 5d00d6de8..d284dc722 100644 --- a/.github/workflows/check-documentation.yml +++ b/.github/workflows/check-documentation.yml @@ -33,8 +33,8 @@ jobs: - name: Check Markdown Links uses: gaurav-nelson/github-action-markdown-link-check@master with: - use-quiet-mode: 'yes' - use-verbose-mode: 'no' + use-quiet-mode: 'no' + use-verbose-mode: 'yes' check-modified-files-only: 'no' config-file: '.github/workflows/mlc_config.json' base-branch: 'master' From 3effa203fd7db3c9484bad68ceb3d0da6b62d619 Mon Sep 17 00:00:00 2001 From: mahula Date: Tue, 9 Jan 2024 13:58:25 +0100 Subject: [PATCH 3/8] change markdown file for testing --- backend/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/README.md b/backend/README.md index b67b44240..f9ea13785 100644 --- a/backend/README.md +++ b/backend/README.md @@ -186,7 +186,7 @@ To run the migration: $ docker exec backend yarn run db:migrate up ``` -@tab Without Docker +@tab Without DockerTEST Generate a data migration file: From 2315c20bb56ec30926290b849657a7645823af4f Mon Sep 17 00:00:00 2001 From: mahula Date: Tue, 9 Jan 2024 14:09:27 +0100 Subject: [PATCH 4/8] change markdown file for testing --- backend/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/README.md b/backend/README.md index f9ea13785..f552ffff5 100644 --- a/backend/README.md +++ b/backend/README.md @@ -186,7 +186,7 @@ To run the migration: $ docker exec backend yarn run db:migrate up ``` -@tab Without DockerTEST +@tab Without DockerTESTING Generate a data migration file: From a141485c93e9f89829c20f38d6c94beca3a30d6a Mon Sep 17 00:00:00 2001 From: mahula Date: Tue, 9 Jan 2024 15:10:11 +0100 Subject: [PATCH 5/8] change file pattern --- .github/workflows/check-documentation.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/check-documentation.yml b/.github/workflows/check-documentation.yml index d284dc722..8937703f3 100644 --- a/.github/workflows/check-documentation.yml +++ b/.github/workflows/check-documentation.yml @@ -38,5 +38,5 @@ jobs: check-modified-files-only: 'no' config-file: '.github/workflows/mlc_config.json' base-branch: 'master' - file-path: '!./CHANGELOG.md' + file-path: './!CHANGELOG.md' folder-path: '.' From e1c0de7d71b8250485c55d3be4fce8db007f6417 Mon Sep 17 00:00:00 2001 From: mahula Date: Tue, 9 Jan 2024 15:16:38 +0100 Subject: [PATCH 6/8] change file pattern --- .github/workflows/check-documentation.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/check-documentation.yml b/.github/workflows/check-documentation.yml index 8937703f3..07d2c1437 100644 --- a/.github/workflows/check-documentation.yml +++ b/.github/workflows/check-documentation.yml @@ -29,7 +29,7 @@ jobs: - name: Checkout code uses: actions/checkout@master - name: Remove old documentation files - run: rm -rf ./deployment/src/old/ # workaround until https://github.com/gaurav-nelson/github-action-markdown-link-check/pull/183 has been done + run: rm -rf ./deployment/src/old/ ./!CHANGELOG.md # workaround until https://github.com/gaurav-nelson/github-action-markdown-link-check/pull/183 has been done - name: Check Markdown Links uses: gaurav-nelson/github-action-markdown-link-check@master with: @@ -38,5 +38,4 @@ jobs: check-modified-files-only: 'no' config-file: '.github/workflows/mlc_config.json' base-branch: 'master' - file-path: './!CHANGELOG.md' folder-path: '.' From 10da9c6d72d63e0c5d2ee85700ccc4ce5fedc48c Mon Sep 17 00:00:00 2001 From: mahula Date: Tue, 9 Jan 2024 15:19:11 +0100 Subject: [PATCH 7/8] change file pattern --- .github/workflows/check-documentation.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/check-documentation.yml b/.github/workflows/check-documentation.yml index 07d2c1437..04b59f559 100644 --- a/.github/workflows/check-documentation.yml +++ b/.github/workflows/check-documentation.yml @@ -29,7 +29,7 @@ jobs: - name: Checkout code uses: actions/checkout@master - name: Remove old documentation files - run: rm -rf ./deployment/src/old/ ./!CHANGELOG.md # workaround until https://github.com/gaurav-nelson/github-action-markdown-link-check/pull/183 has been done + run: rm -rf ./deployment/src/old/ ./CHANGELOG.md # workaround until https://github.com/gaurav-nelson/github-action-markdown-link-check/pull/183 has been done - name: Check Markdown Links uses: gaurav-nelson/github-action-markdown-link-check@master with: From b054092320e74dade01156f776c9af6a02851df4 Mon Sep 17 00:00:00 2001 From: mahula Date: Tue, 9 Jan 2024 15:22:30 +0100 Subject: [PATCH 8/8] undo testing changes --- .github/workflows/check-documentation.yml | 4 ++-- backend/README.md | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/check-documentation.yml b/.github/workflows/check-documentation.yml index 04b59f559..8f6a67813 100644 --- a/.github/workflows/check-documentation.yml +++ b/.github/workflows/check-documentation.yml @@ -33,8 +33,8 @@ jobs: - name: Check Markdown Links uses: gaurav-nelson/github-action-markdown-link-check@master with: - use-quiet-mode: 'no' - use-verbose-mode: 'yes' + use-quiet-mode: 'yes' + use-verbose-mode: 'no' check-modified-files-only: 'no' config-file: '.github/workflows/mlc_config.json' base-branch: 'master' diff --git a/backend/README.md b/backend/README.md index f552ffff5..b67b44240 100644 --- a/backend/README.md +++ b/backend/README.md @@ -186,7 +186,7 @@ To run the migration: $ docker exec backend yarn run db:migrate up ``` -@tab Without DockerTESTING +@tab Without Docker Generate a data migration file: