ci: run link checker on PRs - #2667
Conversation
Signed-off-by: Patrick Stephens <pat@telemetryforge.io>
|
Warning Review limit reached
Next review available in: 37 minutes You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughThe link-check workflow now separates pull-request and scheduled checks. It uses explicit permissions and shared Lychee arguments. Several documentation links are updated, and selected URLs are excluded from link checking. ChangesLink check workflow and documentation links
Estimated code review effort: 2 (Simple) | ~10 minutes Suggested labels: Suggested reviewers: 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In @.github/workflows/linkcheck.yaml:
- Around line 11-14: Split the link-check workflow into separate pull-request
and scheduled jobs: keep the pull-request job limited to contents: read, and
move the issue-creation flow using peter-evans/create-issue-from-file into a
scheduled job with issues: write. Preserve the existing link-check behavior
while ensuring the write permission is unavailable during pull-request runs.
🪄 Autofix
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: defaults
Review profile: CHILL
Plan: Pro Plus
Run ID: 9137fc17-ff64-47eb-b0db-dbefc4d92224
📒 Files selected for processing (1)
.github/workflows/linkcheck.yaml
Signed-off-by: Patrick Stephens <pat@telemetryforge.io>
Signed-off-by: Patrick Stephens <pat@telemetryforge.io>
Signed-off-by: Patrick Stephens <pat@telemetryforge.io>
|
Looks like there are already some failures so will switch to not failing but we still get the report each time anyway. |
Signed-off-by: Patrick Stephens <pat@telemetryforge.io>
Signed-off-by: Patrick Stephens <pat@telemetryforge.io>
Signed-off-by: Pat <pat@telemetryforge.io>
There was a problem hiding this comment.
Actionable comments posted: 2
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In @.github/workflows/linkcheck.yaml:
- Line 23: Update both checkout steps in the workflow jobs to set
persist-credentials to false, ensuring neither job retains the checkout token
for subsequent Git operations while preserving the pinned actions/checkout
versions.
In `@stream-processing/tutorial.md`:
- Line 10: Update the prerequisite entry to explicitly require Docker Engine and
the Docker CLI, replacing the generic “container runtime” wording. Change the
Docker homepage link to Docker’s technical Engine documentation page, keeping
the prerequisite language technical and neutral.
🪄 Autofix
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: defaults
Review profile: CHILL
Plan: Pro Plus
Run ID: fbc7fa07-e271-4a31-8231-1847f04bbcbb
📒 Files selected for processing (6)
.github/workflows/linkcheck.yaml.lycheeignoreinstallation/downloads/source.mdpipeline/outputs/dynatrace.mdpipeline/outputs/kinesis.mdstream-processing/tutorial.md
Signed-off-by: Patrick Stephens <pat@telemetryforge.io>
|
@eschabell ready for review. |
Signed-off-by: Patrick Stephens <pat@telemetryforge.io>
Set up CI to run link checker on PRs but also manually if required - manual runs will create an issue but PRs will only generate a report on the job when it is run.
Fixed a few redirects and excluded some others.
We do not fail on error as quite often these are timeout, bot detection and other errors.
Summary by CodeRabbit
Chores
Documentation