We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 248f05c commit e098aacCopy full SHA for e098aac
.github/workflows/ci.yml
@@ -70,12 +70,13 @@ jobs:
70
- name: Push badge to badges branch
71
if: github.ref == 'refs/heads/main' && github.event_name == 'push'
72
run: |
73
+ # Save badge outside the working tree
74
+ cp coverage-badge.svg /tmp/coverage-badge.svg
75
git config user.name "github-actions[bot]"
76
git config user.email "github-actions[bot]@users.noreply.github.com"
- # Create or update the badges branch
77
git checkout --orphan badges-tmp
78
git rm -rf .
- mv coverage-badge.svg .
79
+ cp /tmp/coverage-badge.svg coverage-badge.svg
80
git add coverage-badge.svg
81
git commit -m "Update coverage badge: ${{ env.COVERAGE }}%"
82
git push origin HEAD:badges --force
0 commit comments