Skip to content

Commit

Permalink
GitHub Actions: only fail analysis if score is low.
Browse files Browse the repository at this point in the history
Other lint jobs catch issues.
  • Loading branch information
greenrobot-team committed Dec 4, 2023
1 parent 39718a8 commit 1e263d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ jobs:
- name: Check scores
shell: bash
run: |
if [[ "${{ steps.analysis.outputs.total }}" != "130" ]]; then
if (( ${{ steps.analysis.outputs.total }} < 100 )); then
echo "Expected score 130, got ${{ steps.analysis.outputs.total }}, please check the analysis report and resolve the issues"
exit 1
fi
Expand Down

0 comments on commit 1e263d2

Please sign in to comment.