actions / labeler

An action for automatically labelling pull requests
MIT License
1.99k stars 419 forks source link

Conditionally exclusive labels #800

Open victor-wang-anz opened 3 months ago

victor-wang-anz commented 3 months ago

Description: For certain condition, some labels take priority and don't attach any other labels even if they meet the condition

Justification: Example 1: For a release PR, target to main and branch starts with release/ , no matter what files have been changed, only release label will be attached to this PR.

Example 2: If user manually selects a label: 'sync' when raising a PR, the action will skip adding labels to the PR

Are you willing to submit a PR? I can try not may not have time

gowridurgad commented 3 months ago

Hello @victor-wang-anz We appreciate your suggestion for a new feature! We'll make sure to address it when we have the opportunity.