ci: require a driving Issue to merge (PR hygiene) - #1
Merged
Merged
Conversation
There was a problem hiding this comment.
Pull request overview
Adds a GitHub Actions check enforcing issue-linking hygiene for pull requests.
Changes:
- Validates the PR body’s closing-issue reference.
- Requires a Development-linked issue or bypass label.
- Reports actionable workflow errors.
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Collaborator
|
Roger is addressing 2 unresolved Copilot review threads on this PR (running Cursor agent: https://cursor.com/agents/bc-4ea70d06-5ee0-4507-a0f7-e7066760aadb |
- first_line() now inspects physical line 1 instead of skipping blank lines - Fetch up to 100 labels so skip-issue-link bypass works reliably Co-authored-by: Andrew Fiebert <mollusk@users.noreply.github.com>
GITHUB_TOKEN cannot read cross-repo closingIssuesReferences; trust org/repo#N and github.com/.../issues/N on physical line 1 as fallback. Co-authored-by: Andrew Fiebert <mollusk@users.noreply.github.com>
- first_line() inspects physical line 1 instead of skipping blank lines - Fetch up to 100 labels so skip-issue-link bypass works reliably Co-authored-by: Andrew Fiebert <mollusk@users.noreply.github.com>
Collaborator
|
@mollusk — Copilot PR review threads on this PR are resolved. Roger addressed the feedback (via
|
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.
Fixes https://github.com/lassoanalytics/cursor-config/issues/359
Summary
pr-github-hygiene: PR must haveFixes #Non line 1 and a Development-linked Issue, or labelskip-issue-link.