From a4a690ba5665ab6ee132b2f47fd42f791aa8a324 Mon Sep 17 00:00:00 2001 From: Dennis van der Stelt Date: Wed, 11 Mar 2026 22:33:57 +0100 Subject: [PATCH 1/9] Add newfile.md with initial content --- docs/newfile.md | 1 + 1 file changed, 1 insertion(+) create mode 100644 docs/newfile.md diff --git a/docs/newfile.md b/docs/newfile.md new file mode 100644 index 0000000..e4ff69d --- /dev/null +++ b/docs/newfile.md @@ -0,0 +1 @@ +Bla From a27762247526edc09dde4d92aa5f0e10f203e033 Mon Sep 17 00:00:00 2001 From: Dennis van der Stelt Date: Wed, 11 Mar 2026 22:34:49 +0100 Subject: [PATCH 2/9] Add test link to configuration documentation Added a test link for documentation clarity. --- docs/configuration.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/configuration.md b/docs/configuration.md index 7512707..4a09e63 100644 --- a/docs/configuration.md +++ b/docs/configuration.md @@ -17,6 +17,8 @@ To fail the workflow on broken links, enable strict mode in one of two ways: **Repository secret (recommended for gradual rollout):** +Testlink: https://github.com/dvdstelt/hyperhawk/blob/main/docs/newfile.md + Go to **Settings > Secrets and variables > Actions** and create a secret named `LINK_CHECK_STRICT` with the value `true`. Then pass it in the workflow: ```yaml @@ -57,3 +59,4 @@ Common use cases: On pull requests, only changed files are scanned. Broken links in files that are not part of the diff are reported as check annotations rather than inline comments. The following directories are always excluded from scanning: `node_modules/`, `.git/`, `dist/`, `lib/`. + From bfd23b849dde8c543a55ae55bd87abc34b7d3495 Mon Sep 17 00:00:00 2001 From: Dennis van der Stelt Date: Wed, 11 Mar 2026 22:40:51 +0100 Subject: [PATCH 3/9] Update configuration.md --- docs/configuration.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/configuration.md b/docs/configuration.md index 4a09e63..d1dd7bb 100644 --- a/docs/configuration.md +++ b/docs/configuration.md @@ -17,7 +17,7 @@ To fail the workflow on broken links, enable strict mode in one of two ways: **Repository secret (recommended for gradual rollout):** -Testlink: https://github.com/dvdstelt/hyperhawk/blob/main/docs/newfile.md +[Testlink](https://github.com/dvdstelt/hyperhawk/blob/main/docs/newfile.md) Go to **Settings > Secrets and variables > Actions** and create a secret named `LINK_CHECK_STRICT` with the value `true`. Then pass it in the workflow: @@ -60,3 +60,4 @@ On pull requests, only changed files are scanned. Broken links in files that are The following directories are always excluded from scanning: `node_modules/`, `.git/`, `dist/`, `lib/`. + From ff975b570eefdcc931ad9400577ea887977c1c65 Mon Sep 17 00:00:00 2001 From: Dennis van der Stelt Date: Wed, 11 Mar 2026 22:43:30 +0100 Subject: [PATCH 4/9] Add new testfile.md with initial content --- test-folder/testfile.md | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 test-folder/testfile.md diff --git a/test-folder/testfile.md b/test-folder/testfile.md new file mode 100644 index 0000000..d1efd7c --- /dev/null +++ b/test-folder/testfile.md @@ -0,0 +1,3 @@ +This is a new file. + +[Link to other file](ttps://github.com/dvdstelt/hyperhawk/blob/main/docs/newfile.md) From 66e51fcca9560802e0287063af532f0dd2041e9a Mon Sep 17 00:00:00 2001 From: Dennis van der Stelt Date: Wed, 11 Mar 2026 22:44:13 +0100 Subject: [PATCH 5/9] Enhance configuration documentation with test links Added additional test links and improved formatting. --- docs/configuration.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/configuration.md b/docs/configuration.md index d1dd7bb..7ec3b28 100644 --- a/docs/configuration.md +++ b/docs/configuration.md @@ -19,6 +19,8 @@ To fail the workflow on broken links, enable strict mode in one of two ways: [Testlink](https://github.com/dvdstelt/hyperhawk/blob/main/docs/newfile.md) +[Another testlink](https://github.com/dvdstelt/hyperhawk/blob/main/test-folder/testfile.md) + Go to **Settings > Secrets and variables > Actions** and create a secret named `LINK_CHECK_STRICT` with the value `true`. Then pass it in the workflow: ```yaml @@ -61,3 +63,4 @@ On pull requests, only changed files are scanned. Broken links in files that are The following directories are always excluded from scanning: `node_modules/`, `.git/`, `dist/`, `lib/`. + From 441561b39ccb1a2749091c167c78c840ef7661a6 Mon Sep 17 00:00:00 2001 From: Dennis van der Stelt Date: Wed, 11 Mar 2026 22:45:04 +0100 Subject: [PATCH 6/9] Fix link formatting in testfile.md --- test-folder/testfile.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test-folder/testfile.md b/test-folder/testfile.md index d1efd7c..14515b7 100644 --- a/test-folder/testfile.md +++ b/test-folder/testfile.md @@ -1,3 +1,3 @@ This is a new file. -[Link to other file](ttps://github.com/dvdstelt/hyperhawk/blob/main/docs/newfile.md) +[Link to other file](https://github.com/dvdstelt/hyperhawk/blob/main/docs/newfile.md) From b4adee08269ae3cc969d584c60f5f85ed7f94d62 Mon Sep 17 00:00:00 2001 From: Dennis van der Stelt Date: Wed, 11 Mar 2026 23:37:04 +0100 Subject: [PATCH 7/9] Fix links in testfile.md Corrected a link in testfile.md and added an additional link. --- test-folder/testfile.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test-folder/testfile.md b/test-folder/testfile.md index 14515b7..a7f88d0 100644 --- a/test-folder/testfile.md +++ b/test-folder/testfile.md @@ -1,3 +1,7 @@ This is a new file. [Link to other file](https://github.com/dvdstelt/hyperhawk/blob/main/docs/newfile.md) + +Another link, but slightly wrong! :-) + +[Link to other file](https://github.com/dvdstelt/hyperhawk/blob/main/doc/newfile.md) From e89dac33f4c297f64853c885bdec5b36e668e9a7 Mon Sep 17 00:00:00 2001 From: Dennis van der Stelt Date: Wed, 11 Mar 2026 23:57:44 +0100 Subject: [PATCH 8/9] Fix link text and add inline links Corrected a link and added a new link on the same line. --- test-folder/testfile.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test-folder/testfile.md b/test-folder/testfile.md index a7f88d0..7aff894 100644 --- a/test-folder/testfile.md +++ b/test-folder/testfile.md @@ -4,4 +4,6 @@ This is a new file. Another link, but slightly wrong! :-) -[Link to other file](https://github.com/dvdstelt/hyperhawk/blob/main/doc/newfile.md) +[Incorrect link to other file](https://github.com/dvdstelt/hyperhawk/blob/main/doc/newfile.md) + +And let's see what happens if they are both on the same line. [Link to other file](https://github.com/dvdstelt/hyperhawk/blob/main/docs/newfile.md) [Incorrect link to other file](https://github.com/dvdstelt/hyperhawk/blob/main/doc/newfile.md) From c1cbb0d214b435f5bdfb3903ffed9bc8236f980e Mon Sep 17 00:00:00 2001 From: Dennis van der Stelt Date: Thu, 12 Mar 2026 00:09:30 +0100 Subject: [PATCH 9/9] Apply suggestions from code review Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> --- docs/configuration.md | 4 ++-- test-folder/testfile.md | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/configuration.md b/docs/configuration.md index 7ec3b28..ebd0f9a 100644 --- a/docs/configuration.md +++ b/docs/configuration.md @@ -17,9 +17,9 @@ To fail the workflow on broken links, enable strict mode in one of two ways: **Repository secret (recommended for gradual rollout):** -[Testlink](https://github.com/dvdstelt/hyperhawk/blob/main/docs/newfile.md) +[Testlink](newfile.md) -[Another testlink](https://github.com/dvdstelt/hyperhawk/blob/main/test-folder/testfile.md) +[Another testlink](/test-folder/testfile.md) Go to **Settings > Secrets and variables > Actions** and create a secret named `LINK_CHECK_STRICT` with the value `true`. Then pass it in the workflow: diff --git a/test-folder/testfile.md b/test-folder/testfile.md index 7aff894..8156571 100644 --- a/test-folder/testfile.md +++ b/test-folder/testfile.md @@ -1,9 +1,9 @@ This is a new file. -[Link to other file](https://github.com/dvdstelt/hyperhawk/blob/main/docs/newfile.md) +[Link to other file](/docs/newfile.md) Another link, but slightly wrong! :-) -[Incorrect link to other file](https://github.com/dvdstelt/hyperhawk/blob/main/doc/newfile.md) +[Incorrect link to other file](/docs/newfile.md) -And let's see what happens if they are both on the same line. [Link to other file](https://github.com/dvdstelt/hyperhawk/blob/main/docs/newfile.md) [Incorrect link to other file](https://github.com/dvdstelt/hyperhawk/blob/main/doc/newfile.md) +And let's see what happens if they are both on the same line. [Link to other file](/docs/newfile.md) [Incorrect link to other file](/docs/newfile.md)