Skip to content

Commit

Permalink
Merge pull request #187 from TheDragonCode/3.x
Browse files Browse the repository at this point in the history
Added change detection result to the console when executing
  • Loading branch information
andrey-helldar authored Nov 2, 2023
2 parents 56572ef + d3cf26a commit a3e6b79
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions shell/push.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,19 @@ function isDirty() {
echo "$result"
}

echo "=========================="
echo "= Changes Detector ="
echo "=========================="
echo " "
echo "Plugins Config: $IS_PLUGINS_CONFIG"
echo "Dependabot: $IS_DIRTY_DEPENDABOT"
echo "EditorConfig: $IS_DIRTY_EDITORCONFIG"
echo "Composer: $IS_DIRTY_NORMALIZE"
echo "Code Style: $IS_DIRTY_CODE"
echo " "
echo "Total dirty is $(isDirty)"
echo " "

if [[ $(isDirty) == "true" ]]; then
git push
fi

0 comments on commit a3e6b79

Please sign in to comment.