Repository navigation
Refresh one Link Checker Report instead of opening a new one each run - #82
Merged
Merged
Conversation
The issue step passed no issue-number to create-issue-from-file, so every failing run filed a new "Link Checker Report". A new step looks up the newest open report and passes its number, so the action updates that issue in place. With none open, the number is empty and the action files a new one, as before. lychee is unchanged. See QuantEcon/actions#194. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01WT8bMYi9AZHg29XQAH3w7N
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues are reported for the link-checking workflow update.
No open issues 🎉
What changed in this PR
Updates the link-checking workflow to reuse an open “Link Checker Report” issue instead of creating a new issue on every failing run.
Changes:
- Finds the newest open report matching the
linkcheckerlabel and report title. - Passes its issue number to the reporting action, creating a new issue when no match exists.
- Leaves lychee behavior and older reports unchanged.
| File | Description |
|---|---|
.github/workflows/linkcheck.yml |
Adds report lookup and connects the matching issue number to the issue-reporting action. |
Review effort: Balanced (adaptive)
This was referenced Nov 22, 2026
Closed
Closed
Closed
Closed
Closed
Closed
Closed
Closed
Closed
Closed
Closed
Closed
Closed
Closed
Closed
Closed
Closed
Closed
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.
Every failing run of
linkcheck.ymlfiles a new "Link Checker Report" issue, because the issue step givespeter-evans/create-issue-from-filenoissue-number. There are 19 open now; the newest labelled one is #72.This adds a "Find Open Report" step before the issue step. It looks up the newest open report (label
linkchecker, title "Link Checker Report") and passes its number asissue-number, so the action updates that issue in place. With none open, the number is empty and the action files a new issue, as it does now. lychee and its arguments are unchanged, and the older reports are left as they are.The same change for lecture-python.myst is QuantEcon/lecture-python.myst#1143; the two merge as a set.
See QuantEcon/actions#194 for the decision to keep lychee with one report.
🤖 Generated with Claude Code
https://claude.ai/code/session_01WT8bMYi9AZHg29XQAH3w7N