From cd856c9d80cad1092466f0d1c48ad31780a99835 Mon Sep 17 00:00:00 2001 From: Altay Date: Sun, 4 Oct 2026 22:58:53 +0300 Subject: [PATCH] ci: check Markdown links and anchors --- .github/workflows/links.yml | 19 +++++++++++++++++++ docs/DISTRIBUTION.md | 5 +++-- 2 files changed, 22 insertions(+), 2 deletions(-) create mode 100644 .github/workflows/links.yml diff --git a/.github/workflows/links.yml b/.github/workflows/links.yml new file mode 100644 index 0000000..2c2f47e --- /dev/null +++ b/.github/workflows/links.yml @@ -0,0 +1,19 @@ +name: Links + +on: + pull_request: + push: + branches: + - main + +permissions: {} + +concurrency: + group: links-${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + +jobs: + links: + permissions: + contents: read + uses: putdotio/.github/.github/workflows/frontend-links.yml@1ee0d3b473cbc6fada08831f01ff80fe653c434a # v1.1.0 diff --git a/docs/DISTRIBUTION.md b/docs/DISTRIBUTION.md index 25df2a8..56ece3e 100644 --- a/docs/DISTRIBUTION.md +++ b/docs/DISTRIBUTION.md @@ -9,8 +9,9 @@ commit releases and how the version bumps. The job calls `frontend-release-npm.yml` from the shared [putdotio/.github workflows](https://github.com/putdotio/.github#frontend-release-npmyml), pinned to a reviewed commit SHA. That workflow owns the semantic-release pins, the -release bot, and caching. [scan.yml](../.github/workflows/scan.yml) calls the -shared scan workflow from the same repository. +release bot, and caching. [scan.yml](../.github/workflows/scan.yml) and +[links.yml](../.github/workflows/links.yml) call the shared scan and Markdown +link-check workflows from the same repository. ## Release Environment