-
Notifications
You must be signed in to change notification settings - Fork 134
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docs: Add all md files in root dir to linkchecker #1461
Changes from 5 commits
54a9aae
fd15223
556b1db
b54981e
00448e0
c4d05a5
c4ed126
6c1b3be
9ab806c
fd6a90c
96ed736
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We should ignore the .changelog folder when we check .md links. We already check the results, i.e., |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
- Introduce the cryptographic verification of equivocation feature to the provider | ||
(cf. [ADR-005](/docs/docs/adrs/adr-005-cryptographic-equivocation-verification.md) | ||
& [ADR-013](/docs/docs/adrs/adr-013-equivocation-slashing.md)). | ||
(cf. [ADR-005](https://github.com/cosmos/interchain-security/blob/main/docs/docs/adrs/adr-005-cryptographic-equivocation-verification.md) | ||
& [ADR-013](https://github.com/cosmos/interchain-security/blob/main/docs/docs/adrs/adr-013-equivocation-slashing.md)). | ||
([\#1340](https://github.com/cosmos/interchain-security/pull/1340)) |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
- Introduce the cryptographic verification of equivocation feature to the provider | ||
(cf. [ADR-005](/docs/docs/adrs/adr-005-cryptographic-equivocation-verification.md) | ||
& [ADR-013](/docs/docs/adrs/adr-013-equivocation-slashing.md)). | ||
(cf. [ADR-005](https://github.com/cosmos/interchain-security/blob/main/docs/docs/adrs/adr-005-cryptographic-equivocation-verification.md) | ||
& [ADR-013](https://github.com/cosmos/interchain-security/blob/main/docs/docs/adrs/adr-013-equivocation-slashing.md)). | ||
([\#1340](https://github.com/cosmos/interchain-security/pull/1340)) |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,8 +7,12 @@ jobs: | |
# 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 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Isn't this going to just remove an entire folder from the repo? See #1464 as a potential solution. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It will remove it, but only in the context of this workflow - maybe I'm wrong, but your PR just changes the trigger for the workflow not to trigger on changes to .changelog, but the check still considers files in the .changelog folder when it triggers, right? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. In this PR, note the folder is only removed for this particular workflow, so it doesn't negatively impact other workflows |
||
run: rm -rf .changelog | ||
|
||
# Checks the status of hyperlinks in *.md files in docs/ | ||
- uses: gaurav-nelson/[email protected] | ||
with: | ||
folder-path: "docs" | ||
file-path: './README.md' | ||
- uses: gaurav-nelson/[email protected] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This will end up in
CHANGELOG.md
and then the links will be broken. You can test that by runningunclog build > CHANGELOG.md
.