Skip to content

Commit

Permalink
[ci] Check pub score difference rather than hardcode (#1809)
Browse files Browse the repository at this point in the history
  • Loading branch information
littleGnAl authored Jun 4, 2024
1 parent 6eb7740 commit 5c3149e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
TOTAL: ${{ steps.analysis.outputs.total }}
TOTAL_MAX: ${{ steps.analysis.outputs.total_max }}
run: |
if (( $TOTAL < 120 ))
if (( $TOTAL_MAX - $TOTAL > 10 ))
then
echo Pub Score too low.
exit 1
Expand Down

0 comments on commit 5c3149e

Please sign in to comment.