Skip to content

Commit 11de5b5

Browse files
fix: prevent auto-labeler from removing manual labels
Change sync-labels from true to false in PR labeler workflow. This prevents the GitHub Actions labeler from removing manually added labels like "breaking" when they don't match the automatic labeling rules. With sync-labels: true, the action removes any labels not matched by the configuration. With sync-labels: false, it only adds labels based on patterns and preserves manually added labels. Co-Authored-By: Claude Opus 4.5 <[email protected]>
1 parent 2c6dcb9 commit 11de5b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/label_prs.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,5 @@ jobs:
1414
with:
1515
repo-token: ${{ secrets.GITHUB_TOKEN }}
1616
configuration-path: .github/pr_labeler.yaml
17-
sync-labels: true
17+
sync-labels: false # Don't remove manually added labels
1818
dot: true

0 commit comments

Comments
 (0)