Skip to content

Commit fca653f

Browse files
rchen152meta-codesync[bot]
authored andcommitted
Make size labeler actually exclude test files
Summary: We intended to exclude test files from the PR size labeler. But the exclusions were written as regexes when the action expected glob patterns, so they didn't work 🤦‍♀️. Now they should. ___ landed-with-radar-review Differential Revision: D129035419 fbshipit-source-id: a0eb10ba6f063100915196a2dacb24b1e6a78be4
1 parent 86348e4 commit fca653f

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

‎.github/workflows/automation_label_pr_size.yml‎

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,10 @@ jobs:
4646
l_max_size: '300'
4747
xl_label: 'size/xl'
4848
fail_if_xl: 'false'
49+
# The labeler matches these as bash glob patterns.
4950
files_to_ignore: |
50-
^test/
51-
^website/
52-
^pyrefly/lib/test/
51+
test/*
52+
website/*
53+
pyrefly/lib/test/*
5354
ignore_line_deletions: 'true'
5455
ignore_file_deletions: 'true'

0 commit comments

Comments
 (0)