From f540fcffb8ada9dc00acc1285c5916a1a90a7224 Mon Sep 17 00:00:00 2001 From: niwoerner Date: Mon, 2 Dec 2024 07:24:42 +0100 Subject: [PATCH] [chore] check if MD_LINK version changed --- .github/workflows/check-links.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/check-links.yaml b/.github/workflows/check-links.yaml index bbfd0bb2ed49..9a44de08efb2 100644 --- a/.github/workflows/check-links.yaml +++ b/.github/workflows/check-links.yaml @@ -29,6 +29,8 @@ jobs: - name: Get changed files id: changes run: | + MD_LINK_CHECK_VERSION_CHANGE=$(git diff origin/main -- .github/workflows/check-links.yaml $(git merge-base origin/main $PR_HEAD) $PR_HEAD | grep "MD_LINK_CHECK_VERSION:" || echo "") + echo $MD_LINK_CHECK_VERSION_CHANGE echo "md=$(git diff --name-only --diff-filter=ACMRTUXB $(git merge-base origin/main $PR_HEAD) $PR_HEAD | grep .md$ | xargs)" >> $GITHUB_OUTPUT check-links: runs-on: ubuntu-latest