From ce45eac793574fc6c7d505bfdba7196ccd3b6150 Mon Sep 17 00:00:00 2001 From: Altay Date: Sun, 4 Oct 2026 22:56:51 +0300 Subject: [PATCH] ci: check Markdown links on pull requests and main --- .github/workflows/links.yml | 19 +++++++++++++++++++ docs/DISTRIBUTION.md | 4 +++- 2 files changed, 22 insertions(+), 1 deletion(-) 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 f283ec1..18f378f 100644 --- a/docs/DISTRIBUTION.md +++ b/docs/DISTRIBUTION.md @@ -10,7 +10,9 @@ 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. +shared scan workflow from the same repository, and +[links.yml](../.github/workflows/links.yml) its offline Markdown link and +anchor check on pull requests and `main`. ## Release Environment