From 8dd27d92a6f8b172d9a6610a1f284309f8a72d9b Mon Sep 17 00:00:00 2001 From: Jack Green Date: Tue, 21 Jan 2025 17:06:25 +0000 Subject: [PATCH 1/2] Introduce GitHub Action to test resolvability of external links [DOC-253] Introduces [functionality introduced in `hz-docs`](https://github.com/hazelcast/hz-docs/pull/1382) to rest of docs codebase. Post-merge checklist: - [ ] add `SLACK_WEBHOOK` secret to repo --- .github/workflows/test-external-links.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 .github/workflows/test-external-links.yml diff --git a/.github/workflows/test-external-links.yml b/.github/workflows/test-external-links.yml new file mode 100644 index 00000000..d0f4f1a7 --- /dev/null +++ b/.github/workflows/test-external-links.yml @@ -0,0 +1,15 @@ +name: Test external links + +on: + workflow_dispatch: + schedule: + - cron: "0 12 * * 1" # Runs at 12:00, only on Monday + +jobs: + test-external-links: + runs-on: ubuntu-latest + + steps: + - uses: hazelcast/hz-docs/.github/actions/test-external-links@main + with: + SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK_DOCS }} From bbaa9348477d63f6930ec30b6187e6f22d27c3b6 Mon Sep 17 00:00:00 2001 From: Jack Green Date: Mon, 27 Jan 2025 13:08:19 +0000 Subject: [PATCH 2/2] Update test-external-links.yml --- .github/workflows/test-external-links.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/test-external-links.yml b/.github/workflows/test-external-links.yml index d0f4f1a7..01e525f2 100644 --- a/.github/workflows/test-external-links.yml +++ b/.github/workflows/test-external-links.yml @@ -10,6 +10,7 @@ jobs: runs-on: ubuntu-latest steps: + - uses: actions/checkout@v4 - uses: hazelcast/hz-docs/.github/actions/test-external-links@main with: SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK_DOCS }}