check all commits since previous job

This fixes the problem where only the last commit is checked even when multiple commits are added since the previous job.
Also added a more efficient way to handle finding changed files, without deleted files.