-
Notifications
You must be signed in to change notification settings - Fork 3
chore: add broken-links check #793
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
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
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.
Pull Request Overview
This PR adds a GitHub Actions workflow to automatically check for broken links in Mintlify documentation files when pull requests are opened or updated. The workflow helps maintain documentation quality by detecting broken internal links before they are merged.
- Introduces a GitHub Actions workflow that runs broken link checks on MDX files
- Adds automated PR commenting to report broken link findings
- Includes workflow failure mechanism when broken links are detected
Reviewed Changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
.github/workflows/broken-links.yml |
New GitHub Actions workflow for checking broken links in documentation |
mintlify/snippets/install/install-upgrade.mdx |
Contains a broken link that appears to be intentionally added for testing |
mintlify/change-database/troubleshoot.mdx |
Contains another broken link that appears to be intentionally added for testing |
| ## ⚙️ Install and Upgrade | ||
|
|
||
| - Fresh install: [/get-started/self-host/deploy-with-docker](/get-started/self-host/deploy-with-docker) | ||
| - Fresh install: [/get-started/self-host/deploy-with-docker](/get-started/self-2host/deploy-with-docker) |
Copilot
AI
Aug 9, 2025
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.
The link path contains a typo: 'self-2host' should be 'self-host'. This creates a broken link.
| - Fresh install: [/get-started/self-host/deploy-with-docker](/get-started/self-2host/deploy-with-docker) | |
| - Fresh install: [/get-started/self-host/deploy-with-docker](/get-started/self-host/deploy-with-docker) |
| This happens if a migration version has already completed successfully and you are trying to apply the same version. Once the migration is successful, its version string is occupied and can't be reused. You can still retry the failed migration. | ||
|
|
||
| This error is more common in GitOps flow when you try to modify an existing migration file. Refer to the [GitOps troubleshoot](/change-database/troubleshoot#duplicate-version) | ||
| This error is more common in GitOps flow when you try to modify an existing migration file. Refer to the [GitOps troubleshoot](/change-database/troubleshoot1#duplicate-version) |
Copilot
AI
Aug 9, 2025
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.
The link path contains an invalid reference: 'troubleshoot1' should be 'troubleshoot'. This creates a broken link.
| This error is more common in GitOps flow when you try to modify an existing migration file. Refer to the [GitOps troubleshoot](/change-database/troubleshoot1#duplicate-version) | |
| This error is more common in GitOps flow when you try to modify an existing migration file. Refer to the [GitOps troubleshoot](/change-database/troubleshoot#duplicate-version) |
📝 Broken Links Check Report
The following is the output from the broken links check: |
No description provided.