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.
2 parents dde758b + 9deae6b commit ee70520Copy full SHA for ee70520
.github/workflows/go-tests.yaml
@@ -57,13 +57,9 @@ jobs:
57
if: github.ref == 'refs/heads/main'
58
run: |
59
# Robust check: Only proceed if the badge file actually exists.
60
- if [ ! -f coverage-badge.svg ]; then
61
- echo "Skipping commit: coverage-badge.svg file was not generated."
62
- exit 0
63
- fi
64
65
git config user.name "github-actions[bot]"
66
git config user.email "github-actions[bot]@users.noreply.github.com"
67
- git add coverage-badge.svg
+ git add .
68
git commit -m "chore: update coverage badge" || echo "No changes to commit"
69
git push
0 commit comments