Skip to content

Commit

Permalink
Avoid labeling 'context' PRs as 'text-input' (flutter#157650)
Browse files Browse the repository at this point in the history
flutter#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.
  • Loading branch information
jmagman authored Oct 28, 2024
1 parent ab256e5 commit 4a46649
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@
- any-glob-to-any-file:
- '**/text/*'
- '**/*text*'
- all-globs-to-all-files:
- '!**/*context*'

'd: api docs':
- changed-files:
Expand Down

0 comments on commit 4a46649

Please sign in to comment.