From faf7a7492f070752c5ab53d6068f9d5e2a1681eb Mon Sep 17 00:00:00 2001 From: Dominik Titl <78549750+morning4coffe-dev@users.noreply.github.com> Date: Mon, 12 Aug 2024 12:37:41 +0200 Subject: [PATCH 1/4] build: CI link validation --- .github/workflows/link-validation.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 .github/workflows/link-validation.yml diff --git a/.github/workflows/link-validation.yml b/.github/workflows/link-validation.yml new file mode 100644 index 000000000000..8a800f8404b0 --- /dev/null +++ b/.github/workflows/link-validation.yml @@ -0,0 +1,12 @@ +name: "Check links with linkcheck" +on: +- pull_request_target + +jobs: + triage: + permissions: + contents: read + runs-on: ubuntu-latest + steps: + - uses: filiph/linkcheck@3.0.0 + \ No newline at end of file From 48038f5760bb4fdf563317712658775680bc4da8 Mon Sep 17 00:00:00 2001 From: Dominik Titl <78549750+morning4coffe-dev@users.noreply.github.com> Date: Mon, 12 Aug 2024 17:58:26 +0200 Subject: [PATCH 2/4] chore: Adjust --- .github/workflows/link-validation.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/link-validation.yml b/.github/workflows/link-validation.yml index 8a800f8404b0..f881bb96379c 100644 --- a/.github/workflows/link-validation.yml +++ b/.github/workflows/link-validation.yml @@ -1,6 +1,6 @@ name: "Check links with linkcheck" on: -- pull_request_target +- pull_request jobs: triage: @@ -8,5 +8,5 @@ jobs: contents: read runs-on: ubuntu-latest steps: - - uses: filiph/linkcheck@3.0.0 + - uses: filiph/linkcheck@f2c15a0be0d9c83def5df3edcc0f2d6582845f2d #3.0.0 \ No newline at end of file From 1ae83978b5a2163ca2a3cf08ff800fe1f822ccd7 Mon Sep 17 00:00:00 2001 From: Dominik Titl <78549750+morning4coffe-dev@users.noreply.github.com> Date: Mon, 12 Aug 2024 18:20:20 +0200 Subject: [PATCH 3/4] chore: Add arguments --- .github/workflows/link-validation.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/link-validation.yml b/.github/workflows/link-validation.yml index f881bb96379c..e9b4861a9640 100644 --- a/.github/workflows/link-validation.yml +++ b/.github/workflows/link-validation.yml @@ -9,4 +9,6 @@ jobs: runs-on: ubuntu-latest steps: - uses: filiph/linkcheck@f2c15a0be0d9c83def5df3edcc0f2d6582845f2d #3.0.0 + with: + arguments: -i docs.platform.uno \ No newline at end of file From a4af8d857c1fb4f3e15c189103d3c69460dd08cc Mon Sep 17 00:00:00 2001 From: Dominik Titl <78549750+morning4coffe-dev@users.noreply.github.com> Date: Mon, 12 Aug 2024 18:21:25 +0200 Subject: [PATCH 4/4] chore: Adjust arg --- .github/workflows/link-validation.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/link-validation.yml b/.github/workflows/link-validation.yml index e9b4861a9640..ca204f237d10 100644 --- a/.github/workflows/link-validation.yml +++ b/.github/workflows/link-validation.yml @@ -10,5 +10,5 @@ jobs: steps: - uses: filiph/linkcheck@f2c15a0be0d9c83def5df3edcc0f2d6582845f2d #3.0.0 with: - arguments: -i docs.platform.uno + arguments: -i https://docs.platform.uno \ No newline at end of file