[2020-10-02 21:07:06] [autobuild] * What went wrong:
[2020-10-02 21:07:06] [autobuild] A problem occurred evaluating project ':ide'.
[2020-10-02 21:07:06] [autobuild] > Could not create task ':lib:spotlessJava'.
[2020-10-02 21:07:06] [autobuild] > No such reference 'origin/main'
If you specify
rachetFromand the branch doesn't exist locally, it should be fetched by the ratchet infrastructure.https://github.com/JLLeitschuh/spotless/runs/1200916598?check_suite_focus=true#step:5:56
EDIT: Summary of workarounds from below
fetch-depth: 0to<action>.ymlGIT_DEPTH: 0under thevariables:section of.gitlab-ci.ymlclone: depth: fullgit: depth: false