Skip to content

Commit d629a0d

Browse files
committed
Revert "Fix size labeler: Switch from Docker to JavaScript action"
This reverts commit 144daab.
1 parent 144daab commit d629a0d

1 file changed

Lines changed: 12 additions & 13 deletions

File tree

.github/workflows/labeler.yml

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -30,19 +30,18 @@ jobs:
3030
sync-labels: true
3131

3232
# Size labels based on lines changed
33-
# Using pascalgn/size-label-action (JavaScript) instead of codelytv/pr-size-labeler (Docker)
34-
# because Docker container actions don't work well with podman on self-hosted runners
3533
- name: Size labels
36-
uses: pascalgn/size-label-action@637b50d9ea6c2f84fc28ef5a9adbfac142f36670 # v0.5.4
34+
uses: codelytv/pr-size-labeler@4ec67706cd878fbc1c8db0a5dcd28b6bb412e85a # v1.10.3
3735
continue-on-error: true
38-
env:
39-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4036
with:
41-
sizes: >
42-
{
43-
"0": "size/XS",
44-
"10": "size/S",
45-
"100": "size/M",
46-
"500": "size/L",
47-
"1000": "size/XL"
48-
}
37+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
38+
xs_label: 'size/XS'
39+
xs_max_size: '9'
40+
s_label: 'size/S'
41+
s_max_size: '99'
42+
m_label: 'size/M'
43+
m_max_size: '499'
44+
l_label: 'size/L'
45+
l_max_size: '999'
46+
xl_label: 'size/XL'
47+
fail_if_xl: 'false'

0 commit comments

Comments
 (0)