-
Notifications
You must be signed in to change notification settings - Fork 138
Description
Have you checked that the bug is not already fixed?
Yes
Summary
I used the sample from the README to validate my repo, but it always passes...
Affected version
v1
Steps to reproduce the bug
name: Check Markdown links
on:
push:
schedule:
Run once a week on Sundays
- cron: "0 9 * * SUN"
jobs:
markdown-link-check:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: List files
run: ls -lh
- name: Check Markdown links
uses: tcort/github-action-markdown-link-check@v1
with:
use-quiet-mode: 'no'
use-verbose-mode: 'yes'
Expected behavior
I have placed a random link and so it shall flag it but all pass
Actual behavior
USE_QUIET_MODE: no
USE_VERBOSE_MODE: yes
FOLDER_PATH: .
MAX_DEPTH: -1
CHECK_MODIFIED_FILES: no
FILE_EXTENSION: .md
FILE_PATH:
- find . -name '.md' -not -path './node_modules/' -exec markdown-link-check '{}' --config markdown.links.config.json -v ';'
- set +x
=========================> MARKDOWN LINK CHECK <=========================
[✔] All links are good!
=========================================================================
Additional context
If I run this command locally
find . -name '*.md' -not -path './node_modules/*' -exec markdown-link-check '{}' --config
At least it talks to me about what was found and tested
FILE: ./README.md
[✓] https://results.pre-commit.ci/latest/github/Borda/.github/main → Status: 200
[✓] https://github.com/Borda/.github/actions/workflows/md-link-check.yaml → Status: 200
[✓] #-using-this-as-your-template → Status: 200
[✓] .github/CONTRIBUTING.md → Status: 200
[✓] .github/CODE_OF_CONDUCT.md → Status: 200
[✓] .github/SECURITY.md → Status: 200
[✓] .github/PULL_REQUEST_TEMPLATE.md → Status: 200
[✓] .github/ISSUE_TEMPLATE/ → Status: 200
[✓] https://docs.github.com/en/communities/setting-up-your-project-for-healthy-contributions/creating-a-default-community-health-file → Status: 200
[✓] https://docs.github.com/en/communities/setting-up-your-project-for-healthy-contributions/about-community-profiles-for-public-repositories → Status: 200
[✓] AGENTS.md → Status: 200
[✓] https://docs.github.com/en/communities/setting-up-your-project-for-healthy-contributions/creating-a-default-community-health-file#supported-file-types → Status: 200
[✓] https://www.contributor-covenant.org/ → Status: 200
[✓] https://github.com/Borda/.github/issues → Status: 200
[✓] https://github.com/Borda/.github/discussions → Status: 200
[✓] https://results.pre-commit.ci/badge/github/Borda/.github/main.svg → Status: 200
[✓] https://github.com/Borda/.github/actions/workflows/md-link-check.yaml/badge.svg?event=push → Status: 200
17 links checked.
FILE: ./.github/CODE_OF_CONDUCT.md
[✓] https://www.contributor-covenant.org/ → Status: 200
[✓] https://www.contributor-covenant.org/version/3/0/ → Status: 200
[✓] https://creativecommons.org/licenses/by-sa/4.0/ → Status: 200
[✓] https://www.contributor-covenant.org/faq → Status: 200
[✓] https://www.contributor-covenant.org/translations → Status: 200
[✓] https://github.com/mozilla/inclusion → Status: 200
6 links checked.
FILE: ./.github/PULL_REQUEST_TEMPLATE.md
No hyperlinks found!
0 links checked.
FILE: ./.github/CONTRIBUTING.md
[✓] https://github.com/firstcontributions/first-contributions → Status: 200
[✓] CODE_OF_CONDUCT.md → Status: 200
[✓] #-fixing-bugs → Status: 200
3 links checked.
Can you fix it?
No