ci(links): avoid duplicate broken link reports - #2073
Merged
Conversation
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #2073 +/- ##
=======================================
Coverage 98.26% 98.26%
=======================================
Files 61 61
Lines 2829 2829
=======================================
Hits 2780 2780
Misses 49 49 ☔ View full report in Codecov by Harness. |
bearomorphism
marked this pull request as ready for review
August 20, 2026 15:09
Contributor
🔍 Commitizen bump previewNo commits in this PR are eligible for a version bump. |
Collaborator
Author
|
I noticed there are ~20 broken link report issues when I fixed #2071. If there is a broken link, one issue is enough I think. |
Lee-W
approved these changes
Aug 21, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Prevent the scheduled link checker from opening repeated
Broken Links Reportissues while an exact-title report is already open. The workflow paginates open issues, excludes pull requests, and creates a report only when no matching issue exists.Checklist
Was generative AI tooling used to co-author this PR?
Generated-by: GitHub Copilot following the guidelines
Code Changes
uv run poe alllocally to ensure this change passes linter check and testsDocumentation Changes
N/A
uv run poe doclocally to ensure the documentation pages renders correctlyExpected Behavior
When a scheduled check finds broken links, it skips issue creation if an open issue titled
Broken Links Reportalready exists. A matching pull request does not suppress report creation.Steps to Test This Pull Request
Broken Links Reportand confirm issue creation is skipped.uv run prek run check-yaml --files .github/workflows/links.yml.Additional Context
The workflow create/skip branches were exercised with mocked GitHub API responses.
Fixes: #2071