Skip to content

Commit

Permalink
Fix test result first time publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
ofek committed Mar 31, 2023
1 parent 3b3be6f commit 7eda1f6
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/test-results-master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,8 @@ jobs:
- name: Commit if stats have changed
run: |-
if ! git diff --quiet; then
git add "${{ env.BADGE_PATH }}"
git commit -m "Update test results from ${{ github.sha }}"
git add "${{ env.BADGE_PATH }}"
if git commit -m "Update test results from ${{ github.sha }}"; then
git push
else
echo "Nothing has changed"
Expand Down

0 comments on commit 7eda1f6

Please sign in to comment.