which will result in an empty diff set for sure. This PR fixes it by using another diff command on master
git diff --name-only HEAD^..HEAD images
It diffs with one commit before. I know this is not a perfect solution but it's the easiest way and covers most cases especially when we following "Squash and merge" practice for all PRs.
This PR fixes master auto-build when a feature branch merged in. There is no modified images detected because on master branch
equals to
which will result in an empty diff set for sure. This PR fixes it by using another diff command on master
It diffs with one commit before. I know this is not a perfect solution but it's the easiest way and covers most cases especially when we following "Squash and merge" practice for all PRs.