Repository navigation
Refresh one Link Checker Report instead of opening a new one each run - #1143
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
Contributor
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues remain for the workflow change that refreshes an existing link-check report issue.
No open issues 🎉
What changed in this PR
Updates the link-checking workflow to refresh an existing report issue instead of creating a new issue for every failing run.
Changes:
- Finds the newest open report matching the
linkcheckerlabel and title search. - Passes its issue number to the reporting action, preserving new-issue creation when no report is open.
- Leaves lychee checks and older report issues unchanged.
| File | Description |
|---|---|
.github/workflows/linkcheck.yml |
Adds an open-report lookup and supplies its issue number to the reporting action. |
Review effort: Balanced (adaptive)
📖 Netlify Preview Ready!Preview URL: https://pr-1143--sunny-cactus-210e3e.netlify.app Commit: Build Info
|
This was referenced Nov 22, 2026
Closed
Closed
Closed
Closed
Closed
Closed
Closed
Closed
Closed
Closed
Closed
Closed
Closed
Closed
Closed
Closed
Closed
Closed
Closed
Closed
Closed
mmcky
added a commit
to QuantEcon/lectures
that referenced
this pull request
Nov 23, 2026
…ure-python.myst#1140 `tools/sync --update --pin-only intermediate` moves intermediate's pin from 220fb97 to deb4bda. That range is three commits: QuantEcon/lecture-python.myst#1143 (its link-checker workflow), QuantEcon/lecture-python.myst#1144 (eight lectures, _toc.yml and 18 new bibliography entries) and QuantEcon/lecture-python.myst#1140 (its bibliography's ruled entries). The eight lectures are pool copies that take intermediate's, so the nightly drift-check brings them in through its refresh pull request, and it reports the toc change for re-acceptance; this pull request changes no pool lecture. `tools/bib-merge --reconstruct --write` then regenerates lectures/_static/quant-econ.bib: 1011 entries (993 before), 42 conflicts, 60 rulings, no refusal. Its header reads intermediate=4892e8b2ec406dac, rulings 2b2a03b4c9c9712f and body 09c6b1bb96f6b12e. The only change to the entries is the 18 new ones from QuantEcon/lecture-python.myst#1144, each held by intermediate alone, so none needs a ruling. The six re-seals' notes now carry 2026-11-23, the day QuantEcon/lecture-python.myst#1140 merged (00:09 UTC). The branch took main (267e58e) in a merge commit first. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01WT8bMacV9Lmy1VLUc6XJoL
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 22 open now; the newest labelled one is #1130.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-dp is QuantEcon/lecture-dp#82; 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