Skip to content

Commit aaea780

Browse files
authored
Update rubyonrails.yml
Signed-off-by: Robert Smith <[email protected]>
1 parent 81cea91 commit aaea780

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/rubyonrails.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,13 +91,15 @@ jobs:
9191

9292
- name: Generate coverage badge
9393
if: ${{ github.ref == 'refs/heads/main' && success() }}
94+
continue-on-error: true
9495
run: |
9596
COVERAGE=$(jq -r '.result.covered_percent' coverage/.last_run.json)
9697
COLOR=$(node -e "cov=parseFloat(process.argv[1]);console.log(cov>=90?'green':cov>=75?'orange':'red')" $COVERAGE)
9798
npx badgen-cli coverage ${COVERAGE}% -c $COLOR > coverage.svg
9899
99100
- name: Commit badge
100101
if: ${{ github.ref == 'refs/heads/main' && success() }}
102+
continue-on-error: true
101103
uses: stefanzweifel/git-auto-commit-action@v5
102104
with:
103105
commit_message: "chore: update coverage badge"

0 commit comments

Comments
 (0)