Skip to content

Commit

Permalink
change thresholds
Browse files Browse the repository at this point in the history
  • Loading branch information
Wrede committed Jun 11, 2024
1 parent 9758188 commit c16cee2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/pr_size_labeler.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ jobs:
if: ${{ github.event.pull_request.changed_files != '' }}
run: |
PATCH_THRESHOLD=10
MINOR_THRESHOLD=200
MAJOR_THRESHOLD=500
MINOR_THRESHOLD=500
MAJOR_THRESHOLD=1000
TOTAL_CHANGES=$(($ADDITIONS + $DELETIONS))
Expand All @@ -37,7 +37,7 @@ jobs:
elif [ "$TOTAL_CHANGES" -le "$MINOR_THRESHOLD" ]; then
LABEL="minor"
else
LABEL="major"
LABEL="minor"
fi
echo "Applying label: $LABEL"
Expand Down

0 comments on commit c16cee2

Please sign in to comment.