Skip to content

chore: apply needs-triage label only when no other label is applied#41

Merged
damaz91 merged 1 commit into
Universal-Commerce-Protocol:mainfrom
damaz91:triage-only-no-labels
Jul 14, 2026
Merged

chore: apply needs-triage label only when no other label is applied#41
damaz91 merged 1 commit into
Universal-Commerce-Protocol:mainfrom
damaz91:triage-only-no-labels

Conversation

@damaz91

@damaz91 damaz91 commented Jul 14, 2026

Copy link
Copy Markdown
Contributor

Description

Modify the triage logic to only apply the status:needs-triage label if the PR has no other labels. This prevents clobbering existing classifications and reduces noise.

Category (Required)

  • Community Health (.github): Updates to templates, workflows, or org-level configs. (Requires DevOps Maintainer approval)

Related Issues

Checklist

  • I have followed the Contributing Guide (including Conventional Commits title requirements and ! for breaking changes).
  • My changes pass all local linting and formatting checks.
  • I have added tests that prove my fix is effective or that my feature works.
  • New and existing unit tests pass locally with my changes.

# Description

Modify the triage logic to only apply the `status:needs-triage` label if the PR has no other labels. This prevents clobbering existing classifications and reduces noise.

## Category (Required)

- [x] **Community Health (.github)**: Updates to templates, workflows, or org-level configs. (Requires DevOps Maintainer approval)

## Related Issues

## Checklist

- [x] I have followed the [Contributing Guide](https://github.com/Universal-Commerce-Protocol/.github/blob/main/CONTRIBUTING.md) (including Conventional Commits title requirements and `!` for breaking changes).
- [x] My changes pass all local linting and formatting checks.
- [x] I have added tests that prove my fix is effective or that my feature works.
- [x] New and existing unit tests pass locally with my changes.
@damaz91
damaz91 requested a review from a team as a code owner July 14, 2026 13:04
@damaz91 damaz91 changed the title triage: apply needs-triage label only when no other label is applied chore: apply needs-triage label only when no other label is applied Jul 14, 2026
@damaz91 damaz91 added the devops label Jul 14, 2026
@ptiper

ptiper commented Jul 14, 2026

Copy link
Copy Markdown
Contributor

Some labels are automated, for example "dependencies" for dependabot. We still want to triage those?

@damaz91
damaz91 merged commit fafaca7 into Universal-Commerce-Protocol:main Jul 14, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants