Skip to content

v2.1.0 - Add configurable labeling features

Latest

Choose a tag to compare

@b-ray b-ray released this 14 Jul 12:26

✨ New Features

Branch-based Labeling

  • PRs targeting specific branches automatically get labeled based on branchesToLabelMap configuration
  • Perfect for team organization (e.g., master/release/hotfix → Team: Black)

Reviewer-based Team Labeling

  • When team members are assigned as reviewers, they get labeled based on reviewerToLabelMap configuration
  • Works with both individual reviewers and team reviewers

Configurable Release Planning Labels

  • Configurable label (via releaseLabel) for PRs targeting release/* or hotfix/* branches
  • Helps track release planning

Configurable Waiting for Review Labels

  • Configurable label (via waitingForReviewLabel) for all non-draft PRs when opened
  • Helps track PR status

Full Backward Compatibility

  • All existing auto-assign functionality preserved
  • New features are optional and configurable

📋 Example Configuration

# Existing auto-assign settings work as before
addReviewers: true
addAssignees: true

# NEW: Team labeling features
reviewerToLabelMap:
  'Flutter Support Squad': 'Team: Black'
  'Social Squad': 'Team: Green'

branchesToLabelMap:
  master: 'Team: Black'
  release: 'Team: Black'
  hotfix: 'Team: Black'

releaseLabel: 'Planned for next release'
waitingForReviewLabel: 'Waiting for Review'

🤖 Generated with Claude Code