Skip to content

Commit

Permalink
add checking of diff in the cached environment
Browse files Browse the repository at this point in the history
  • Loading branch information
Anmol1696 committed May 7, 2024
1 parent 0a275a9 commit a93a0dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
git config user.email 'action@github.com'
git add .
git commit -m "Aotumated: Update starship documentation from starship repo"
if git diff --quiet; then
if git diff --cached --quiet; then
echo "No changes to commit."
else
git push
Expand Down

0 comments on commit a93a0dc

Please sign in to comment.