Skip to content

Refine release drafter output with contributor sections and single-category PR placement#264

Merged
timlaing merged 1 commit into
mainfrom
copilot/update-release-drafter-template
May 26, 2026
Merged

Refine release drafter output with contributor sections and single-category PR placement#264
timlaing merged 1 commit into
mainfrom
copilot/update-release-drafter-template

Conversation

Copy link
Copy Markdown

Copilot AI commented May 26, 2026

This updates release drafting to explicitly recognize first-time contributors and list all release contributors, while reducing duplicated PR entries across sections. PRs are now more likely to appear in one primary category instead of being repeated due to broad auto-label matches.

  • Release notes structure

    • Added a dedicated 🌱 New Contributors category keyed to first-time-contributor.
    • Extended the release template with a ## Contributors section using $CONTRIBUTORS.
  • Category de-duplication behavior

    • Removed broad autolabel rules that commonly caused overlap across categories:
      • dropped file-based docs autolabeling (*.md)
      • dropped title-keyword autolabeling for feature/bugfix
    • Kept branch-based autolabeling so categorization remains intentional and predictable.
  • Config update (excerpt)

    categories:
      - title: "🌱 New Contributors"
        labels:
          - "first-time-contributor"
    
    template: |
      ## What's Changed
    
      $CHANGES
    
      ## Contributors
    
      $CONTRIBUTORS

@timlaing timlaing marked this pull request as ready for review May 26, 2026 21:38
Copilot AI review requested due to automatic review settings May 26, 2026 21:38
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the repository’s Release Drafter configuration to improve release note structure by adding contributor-focused sections and reducing label overlap that can cause PRs to appear in multiple categories.

Changes:

  • Added a 🌱 New Contributors release-notes category keyed to the first-time-contributor label.
  • Simplified autolabeler rules by removing broad file/title-based label triggers to reduce multi-category labeling.
  • Extended the release template to include a ## Contributors section via $CONTRIBUTORS.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +2 to +4
- title: "🌱 New Contributors"
labels:
- "first-time-contributor"
@timlaing timlaing merged commit 85786c8 into main May 26, 2026
22 checks passed
@timlaing timlaing deleted the copilot/update-release-drafter-template branch May 26, 2026 21:58
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.

3 participants