Provide the last successful build to CI
It would be useful to know what files have been changed since the last successful CI run for then branch the current build is running on. The easiest way to provide this would be to expose the last successful commit to CI. If the job then wants to figure out the changed files, it can use the relevant git commands.
This would allow for optimisations in the jobs like only linting changed files and not running backend tests if only frontend files changed.
Edited by Jason Yavorska