You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using Spotless in my project. I want it to only check code different from a remote branch which is referred as upstream/dev. However, this causes remote CI to fail once I push the code to the remote repo and trigger the CI.
I set up ratchet as below:
<ratchetFrom>upstream/dev</ratchetFrom>
The error log I got from my GitHub Actions:
Execution default of goal com.diffplug.spotless:spotless-maven-plugin:2.23.0:check failed: No such reference 'upstream/dev' -> [Help 1]
In the end, I have to set ratchetFromHEAD instead of upstream/dev, which is not recommended by the official doc:
May I ask whether there is a way to set ratchetFrom a remote branch without failing the remote CI?
Thanks!
The text was updated successfully, but these errors were encountered:
Hello,
I'm using
Spotless
in my project. I want it to only check code different from a remote branch which is referred asupstream/dev
. However, this causes remote CI to fail once I push the code to the remote repo and trigger the CI.I set up
ratchet
as below:The error log I got from my
GitHub Actions
:In the end, I have to set
ratchetFrom
HEAD
instead ofupstream/dev
, which is not recommended by the official doc:May I ask whether there is a way to set
ratchetFrom
a remote branch without failing the remote CI?Thanks!
The text was updated successfully, but these errors were encountered: