Skip to content

Commit

Permalink
Fixed workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
JaffaKetchup committed Sep 10, 2023
1 parent 0431b8d commit 24a489f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/branch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ jobs:
TOTAL: ${{ steps.analysis.outputs.total }}
TOTAL_MAX: ${{ steps.analysis.outputs.total_max }}
run: |
if (( $TOTAL < $TOTAL_MAX - 10 ))
TARGET=$(( $TOTAL_MAX - 10 ))
if (( $TOTAL < $TARGET ))
then
echo Package score less than available score. Improve the score!
exit 1
Expand Down

0 comments on commit 24a489f

Please sign in to comment.