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 a5b8fb4 commit d0924a7Copy full SHA for d0924a7
.github/workflows/run-examples-jing.yml
@@ -98,8 +98,6 @@ jobs:
98
git config --local user.name github-actions[bot]
99
git config --local user.email "${{ github.actor_id }}+${{ github.actor }}@users.noreply.github.com"
100
git status
101
- if ! git diff --exit-code; then
102
- git add tests/results/
103
- git commit -m "GH Action updated results file when running examples $(date)"
104
- git push
105
- fi
+ git add tests/results/
+ git diff --cached --quiet || git commit -m "GH Action updated results file when running examples $(date)"
+ git push
0 commit comments