Auto-open issue when scheduled lychee finds broken links - #4
Merged
Merged
Conversation
Summary: - link-check-online.yml: lychee runs with fail:false, then create-issue-from-file opens an issue with the broken-link report when exit_code is non-zero - Workflow gets contents:read + issues:write permissions for the issue creation Changed files: - .github/workflows/link-check-online.yml: switch fail:true → fail:false; add issue-creation step gated on lychee exit code; add permissions block Validation: - Local scripts/check.sh runs clean across all four tiers (lychee + typos installed) - Workflow YAML structure mirrors the canonical lychee-action README example Follow-ups: - First scheduled run is Sunday at 13:00 UTC; can also trigger manually via workflow_dispatch - Issues will be labelled link-rot and automated for filtering Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 of 4 tasks
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
link-check-online.yml: lychee runs withfail: false, thenpeter-evans/create-issue-from-file@v5opens an issue with the broken-link report whenexit_code != 0contents: read+issues: writepermissions for the issue creationTest plan
scripts/check.shruns clean across all four tiersdoc-qualityjobs pass on this PRworkflow_dispatchonce to confirm the issue-creation path; revert any test issue created🤖 Generated with Claude Code