ci: stabilize link-check + pin author on submodule auto-commits - #261
Merged
Conversation
- Pin commit_author in update-submodules.yml so scheduled and manually-dispatched runs both attribute the commit to the hyperledger-bot GPG identity instead of github.actor. Previously stefanzweifel/git-auto-commit-action defaulted commit_author to github.actor, which resolved to whoever last (re)activated the workflow on schedule events. - Make .linkinatorrc.json resilient against transient failures: enable retry (honors 429 Retry-After), retryErrors with 3 retries and jitter, and lower concurrency to 8 to reduce rate-limit pressure on github.com. Add skips for known bot-blocking and dead domains (w3.org/TR, mvnrepository, blog.cheqd.io, medium.com, w3c-ccg.github.io/did-resolution) so the link check surfaces real failures only. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com> Signed-off-by: Yurii Shynbuiev <yurii.shynbuiev@iohk.io>
3 tasks
🦙 MegaLinter status: ✅ SUCCESS
See detailed report in MegaLinter reports |
|
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.



Summary
Two CI fixes bundled together since they only touch CI:
update-submodules.yml— pincommit_authorso the author of the weekly auto-commit is the hyperledger-bot GPG identity instead of whoever last (re)activated the schedule.stefanzweifel/git-auto-commit-actiondefaultscommit_authortogithub.actor, which onscheduleevents resolves to the user that triggered the cron — not the bot. Result: random committers (the user who last touched the workflow or re-enabled it) show up as authors on the contributor graph..linkinatorrc.json— the Check Broken Links job has been failing on every push tomain. Investigation of run 26278275914 showed 245 of 278 "broken" links were HTTP 429 rate-limits from github.com — false positives. Changes:retry: true— respects Retry-After on 429retryErrors: true+retryErrorsCount: 3+retryErrorsJitter: 3000— handle transient failuresconcurrency: 16 → 8— reduce 429s at the sourcew3.org/TR/*,mvnrepository.com/*,blog.cheqd.io/*,medium.com/*w3c-ccg.github.io/did-resolution/*— dead URL that keeps regenerating intodocumentation/reference/Cloud Agent API/*.api.mdxfrom the cloud-agent submodule's OpenAPI specReal broken links surfaced by linkinator (404 / dead-DNS) are fixed in a separate PR.
Test plan
workflow_dispatchon this branch and confirm it passes (or, at minimum, the broken count drops from 278 to ~10–15 real failures — which the link-fix PR addresses)update-submodulesrun and confirm the commit author is the bot GPG identity, not a user🤖 Generated with Claude Code