Skip to content

Commit

Permalink
[chore] check if MD_LINK version changed
Browse files Browse the repository at this point in the history
  • Loading branch information
niwoerner committed Dec 2, 2024
1 parent bc7d967 commit f540fcf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/check-links.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f540fcf

Please sign in to comment.