Skip to content

Commit 7483708

Browse files
kim-emclaude
andcommitted
chore: allow PR authors to set topic labels via comments
This adds all topic labels (t-*) to the comment-to-label workflow, allowing PR authors to manually add or remove topic labels by commenting on their PRs. This is useful when the auto-labeling from the diff is incorrect or incomplete. Authors can now comment with lines like: - `t-algebra` to add the label - `-t-algebra` to remove the label Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
1 parent 82ade79 commit 7483708

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/labels_from_comment.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
steps:
2626
- name: Add / remove label based on comment
2727
run: |
28-
labelArray=("awaiting-author" "WIP" "easy" "brownian" "carleson" "CFT" "FLT" "sphere-packing" "toric")
28+
labelArray=("awaiting-author" "WIP" "easy" "brownian" "carleson" "CFT" "FLT" "sphere-packing" "toric" "t-algebra" "t-algebraic-geometry" "t-algebraic-topology" "t-analysis" "t-category-theory" "t-combinatorics" "t-computability" "t-condensed" "t-convex-geometry" "t-data" "t-differential-geometry" "t-dynamics" "t-euclidean-geometry" "t-geometric-group-theory" "t-group-theory" "t-linter" "t-logic" "t-measure-probability" "t-meta" "t-number-theory" "t-order" "t-ring-theory" "t-set-theory" "t-topology")
2929
3030
# we strip `\r` since line endings from GitHub contain this character
3131
COMMENT="${COMMENT//$'\r'/}"

0 commit comments

Comments
 (0)