We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 81cea91 commit 3c8e585Copy full SHA for 3c8e585
.github/workflows/rubyonrails.yml
@@ -94,7 +94,7 @@ jobs:
94
run: |
95
COVERAGE=$(jq -r '.result.covered_percent' coverage/.last_run.json)
96
COLOR=$(node -e "cov=parseFloat(process.argv[1]);console.log(cov>=90?'green':cov>=75?'orange':'red')" $COVERAGE)
97
- npx badgen-cli coverage ${COVERAGE}% -c $COLOR > coverage.svg
+ npx badgen-cli --subject coverage --status ${COVERAGE}% --color $COLOR > coverage.svg
98
99
- name: Commit badge
100
if: ${{ github.ref == 'refs/heads/main' && success() }}
0 commit comments