Remove excluded folders in the linkchecker workflow #2169
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Check Markdown links | |
on: push | |
jobs: | |
markdown-link-check: | |
runs-on: ubuntu-latest | |
steps: | |
# Check out the latest version of the code | |
- uses: actions/checkout@v4 | |
# Remove folders that we do not want to check. | |
# This is due to the markdown-link-check action | |
# not having an exclude parameter, see | |
# https://github.com/gaurav-nelson/github-action-markdown-link-check/issues/38 | |
- name: Remove folders that we do not want to check | |
run: rm -rf .changelog | |
# Checks the status of hyperlinks in *.md files in docs/ | |
- uses: gaurav-nelson/[email protected] |