Skip to content

CI: Surface when PR descriptions mention issues that are not linked in the Development field #77397

@adamsilverstein

Description

@adamsilverstein

Problem

Release leads and folks writing release notes rely on the GitHub Development relationship (the linked-issues list in the right sidebar) to find every PR attached to a tracking ticket. Today, PR descriptions often mention issues (e.g. `See #1234`, `Related to #1234`, or a bare `#1234`) without actually linking them, so those PRs never show up on the referenced ticket.

Proposal

Add a non-invasive CI workflow that scans each open PR's description for issue references, compares them against the PR's `closingIssuesReferences` (the data that powers the Development sidebar), and posts an advisory sticky comment listing any references that aren't linked — with guidance on how to link them.

Requirements

  • Runs on every open PR (opened, edited, reopened, synchronize, ready_for_review).
  • Detects issue references in three forms: `Confirm navigation when user has unsaved changes #1234`, `Confirm navigation when user has unsaved changes #1234`, and full issue/pull URLs in this repo.
  • Ignores HTML-comment placeholders from the PR template.
  • Filters out references that are actually PRs or don't exist.
  • Posts a single sticky comment that is updated in place and removed when everything is linked.
  • Advisory only for now — does not fail the PR. Can be tightened later if it proves useful.

Metadata

Metadata

Assignees

No one assigned

    Labels

    [Status] In discussionUsed to indicate that an issue is in the process of being discussed[Type] Build ToolingIssues or PRs related to build tooling

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions