From 4a4664946bcf92299e0cd4d20d8b574e41cb1be2 Mon Sep 17 00:00:00 2001 From: Jenn Magder Date: Mon, 28 Oct 2024 10:34:56 -0700 Subject: [PATCH] Avoid labeling 'context' PRs as 'text-input' (#157650) https://github.com/flutter/flutter/pull/157646 is being labeled by the PR labeler as "text-input" because it edited "con**text**_runner.dart". ``` ##[debug] "**/*text*" pattern matched packages/flutter_tools/lib/src/context_runner.dart ``` https://github.com/flutter/flutter/actions/runs/11526508378/job/32090756495?pr=157646#step:2:134 Exclude the common "context" word from this label rule. See negation example at https://github.com/actions/labeler/blob/main/README.md#basic-examples. --- .github/labeler.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/labeler.yml b/.github/labeler.yml index 7dad0e50e2..136ef9a490 100644 --- a/.github/labeler.yml +++ b/.github/labeler.yml @@ -42,6 +42,8 @@ - any-glob-to-any-file: - '**/text/*' - '**/*text*' + - all-globs-to-all-files: + - '!**/*context*' 'd: api docs': - changed-files: