Skip to content
This repository was archived by the owner on Nov 5, 2024. It is now read-only.

Commit a29aecd

Browse files
authored
Update size-label.yml
1 parent 4684ebf commit a29aecd

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/size-label.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,19 +45,20 @@ jobs:
4545
-H "Accept: application/vnd.github.v3+json" \
4646
https://api.github.com/repos/${{ github.repository }}/issues/${{ github.event.pull_request.number }}/labels \
4747
-d '["size: L"]'
48-
elif [ $size -gt 10 ]; then
48+
elif [ $size -gt 15 ]; then
4949
echo "Adding size: M"
5050
curl -X POST -H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" \
5151
-H "Accept: application/vnd.github.v3+json" \
5252
https://api.github.com/repos/${{ github.repository }}/issues/${{ github.event.pull_request.number }}/labels \
5353
-d '["size: M"]'
54-
elif [ $size -gt 5 ]; then
54+
elif [ $size -gt 7 ]; then
5555
echo "Adding size: S"
5656
curl -X POST -H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" \
5757
-H "Accept: application/vnd.github.v3+json" \
5858
https://api.github.com/repos/${{ github.repository }}/issues/${{ github.event.pull_request.number }}/labels \
5959
-d '["size: S"]'
60-
else
60+
elif
61+
elif [ $size -gt 2 ]; then
6162
echo "Adding size: XS"
6263
curl -X POST -H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" \
6364
-H "Accept: application/vnd.github.v3+json" \

0 commit comments

Comments
 (0)