From b71ef9d557ee6d5a4326ecfdb7db0ecfe099ad59 Mon Sep 17 00:00:00 2001 From: Lauri Tulmin Date: Fri, 10 Oct 2025 09:00:26 +0300 Subject: [PATCH] Copy link checking changes from contrib --- .github/workflows/build-daily.yml | 10 +++++++++- .github/workflows/reusable-link-check.yml | 3 +-- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build-daily.yml b/.github/workflows/build-daily.yml index 7d76d7c02f8e..d72a5325797a 100644 --- a/.github/workflows/build-daily.yml +++ b/.github/workflows/build-daily.yml @@ -27,7 +27,15 @@ jobs: uses: ./.github/workflows/reusable-shell-script-check.yml link-check: - uses: ./.github/workflows/reusable-link-check.yml + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 + + - uses: jdx/mise-action@e3d7b8d67a7958d1207f6ed871e83b1ea780e7b0 # v3.3.1 + + - run: mise run lint:links + env: + GITHUB_TOKEN: ${{ github.token }} markdown-lint-check: uses: ./.github/workflows/reusable-markdown-lint-check.yml diff --git a/.github/workflows/reusable-link-check.yml b/.github/workflows/reusable-link-check.yml index d778dea64fa0..65763b9ba60a 100644 --- a/.github/workflows/reusable-link-check.yml +++ b/.github/workflows/reusable-link-check.yml @@ -17,7 +17,6 @@ jobs: - uses: jdx/mise-action@e3d7b8d67a7958d1207f6ed871e83b1ea780e7b0 # v3.3.1 - name: Link check - relative links (all files) - if: github.event_name == 'pull_request' env: GITHUB_TOKEN: ${{ github.token }} run: mise run lint:local-links @@ -25,4 +24,4 @@ jobs: - name: Link check (modified files only) env: GITHUB_TOKEN: ${{ github.token }} - run: mise run lint:links-in-modified-files --base origin/${{ github.base_ref }} --head ${{ github.event.pull_request.head.sha }} --event ${{ github.event_name }} + run: mise run lint:links-in-modified-files --base origin/${{ github.base_ref }} --head ${{ github.event.pull_request.head.sha }}