Skip to content

Add workflow to auto-create tracking issues for merged PRs without linked issues#12

Draft
Copilot wants to merge 2 commits into
mainfrom
copilot/create-draft-issue
Draft

Add workflow to auto-create tracking issues for merged PRs without linked issues#12
Copilot wants to merge 2 commits into
mainfrom
copilot/create-draft-issue

Conversation

Copy link
Copy Markdown

Copilot AI commented Mar 16, 2026

PRs #9, #10, and #11 were merged with no associated GitHub issues, leaving no issue-level traceability for those changes. The repo had zero issues.

Changes

  • .github/workflows/create-issue-for-merged-pr.yml — Single workflow with two trigger modes:

    • pull_request (closed): On merge, scans PR body for Closes/Fixes/Resolves #N patterns; creates a structured tracking issue if none found
    • workflow_dispatch: Accepts comma-separated PR numbers (e.g. 9,10,11) to retroactively backfill tracking issues for already-merged PRs
    • Auto-creates tracking and needs-info labels if absent
    • Shared buildIssueBody / createTrackingIssue helpers used by both paths to avoid duplication
  • .github/ISSUE_TEMPLATE/tracking-issue.yml — Structured issue form for manually creating tracking issues; fields cover PR reference, what changed, motivation, acceptance criteria, testing, and docs

Backfilling PRs #9#11

Run Actions → "Create Issue for Merged PR Without Linked Issue" → Run workflow with input 9,10,11.

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • https://api.github.com/repos/leeeunkoo/pullpiri/labels
    • Triggering command: /usr/bin/curl curl -s -H Accept: application/vnd.github+json REDACTED (http block)

If you need me to access, download, or install something from one of these locations, you can either:


🔒 GitHub Advanced Security automatically protects Copilot coding agent pull requests. You can protect all pull requests by enabling Advanced Security for your repositories. Learn more about Advanced Security.

…ed PRs

Co-authored-by: leeeunkoo <170624174+leeeunkoo@users.noreply.github.com>
Copilot AI changed the title [WIP] Add draft issue for merged pull requests without issues Add workflow to auto-create tracking issues for merged PRs without linked issues Mar 16, 2026
Copilot AI requested a review from leeeunkoo March 16, 2026 05:24
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.

2 participants