ci: add markdown links validation action#6092
Conversation
|
|
||
| - name: link-check | ||
| # yamllint disable-line rule:line-length | ||
| uses: lycheeverse/lychee-action@a8c4c7cb88f0c7386610c35eb25108e448569cb0 # v2.7.0 |
There was a problem hiding this comment.
We can only use approved actions from the Ceph GitHub organization. This isn't one of them, so it needs reviewing by the Ceph (build?) team.
There was a problem hiding this comment.
see https://github.com/ceph/ceph-csi/actions/runs/22171364139 for the 'run' from this PR.
There was a problem hiding this comment.
Okay, got rid of Github action and moved to using actual lychee tool.
https://github.com/ceph/ceph-csi/actions/runs/22177811417/job/64130954818?pr=6092
3b59106 to
adebfe2
Compare
| && npm init -y \ | ||
| && npm install @commitlint/cli@"${COMMITLINT_VERSION}" \ | ||
| && popd \ | ||
| && curl -sSfL "https://github.com/lycheeverse/lychee/releases/download/lychee-${LYCHEE_VERSION}/lychee-x86_64-unknown-linux-gnu.tar.gz" | tar -xz -C /usr/local/bin \ |
There was a problem hiding this comment.
use, or convert GOARCH to x86_64 or any other architecture.
|
Nice alternative approach. This also makes it much easier to run locally on development systems. It looks like there are quite a few broken links. Do you want to fix them in this PR too? |
adebfe2 to
347e129
Compare
|
I have fixed the broken links and left docs/rbd/deploy.rbd since it is covered in #6082. |
347e129 to
8465cb6
Compare
Signed-off-by: Praveen M <m.praveen@ibm.com>
8465cb6 to
9d1941e
Compare
Pull request has been modified.
Signed-off-by: Praveen M <m.praveen@ibm.com>
9d1941e to
8317409
Compare
Merge Queue StatusRule:
This pull request spent 5 minutes 26 seconds in the queue, including 5 minutes 10 seconds running CI. Required conditions to merge
|
Describe what this PR does
ci: add markdown link validation action
This PR adds a new GitHub Actions workflow to automatically validate links in markdown files across the repository.
The workflow:
This helps maintain documentation quality by catching broken links before they are merged.
Related issues
Depends-on: #6082
Fixes: #6089
Future concerns
Checklist:
Show available bot commands
These commands are normally not required, but in case of issues, leave any of
the following bot commands in an otherwise empty comment in this PR:
/retest ci/centos/<job-name>: retest the<job-name>after unrelatedfailure (please report the failure too!)