Skip to content

Skip link report issue when issues are disabled - #62

Open
krMaynard wants to merge 1 commit into
Vaquill-AI:mainfrom
krMaynard:agent/skip-issue-when-disabled
Open

Skip link report issue when issues are disabled#62
krMaynard wants to merge 1 commit into
Vaquill-AI:mainfrom
krMaynard:agent/skip-issue-when-disabled

Conversation

@krMaynard

Copy link
Copy Markdown

Summary

  • skip scheduled link-report issue creation when repository Issues are disabled
  • preserve the current broken-link report behavior for repositories where Issues are enabled

Root cause

The scheduled link check deliberately runs Lychee with fail: false and then creates an issue when broken links are found. Forks can have Issues disabled; in that case peter-evans/create-issue-from-file fails the otherwise successful reporting workflow with Issues has been disabled in this repository.

The workflow event already exposes the repository's has_issues setting, so the issue step can be gated without suppressing the link report or changing upstream behavior.

Validation

  • parsed .github/workflows/link-check.yml successfully as YAML
  • git diff --check passes
  • confirmed has_issues: false on the reproducing fork and has_issues: true upstream

@krMaynard
krMaynard marked this pull request as ready for review August 2, 2026 01:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant