Skip to content

Commit

Permalink
do not use action
Browse files Browse the repository at this point in the history
  • Loading branch information
BalzaniEdoardo committed Feb 4, 2025
1 parent dc1fe25 commit e5d1106
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,10 +87,15 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v4

- name: Check Markdown links (Root Folder Only)
uses: gaurav-nelson/github-action-markdown-link-check@v1
with:
file-path: "README.md CONTRIBUTING.md CODE_OF_CONDUCT.md"
- name: Install markdown-link-check
run: npm install -g markdown-link-check

- name: Check links in root Markdown files
run: |
set -o pipefail # Ensure failures propagate in pipes
find . -maxdepth 1 -name "*.md" | while read file; do
markdown-link-check "$file" || exit 1 # Exit if any file has dead links
done
check:
if: ${{ !github.event.pull_request.draft }}
Expand Down

0 comments on commit e5d1106

Please sign in to comment.