Konrad Windszus created SLING-13125:
---------------------------------------

             Summary: Parent: Auto-Format with Spotless outside CI builds
                 Key: SLING-13125
                 URL: https://issues.apache.org/jira/browse/SLING-13125
             Project: Sling
          Issue Type: Improvement
          Components: General
            Reporter: Konrad Windszus
             Fix For: Parent 67


Currently spotless is only executed with goal {{check}} except if explicitly 
executed with profile {{format}}. 
One could automatically enable the format profile to be active in local builds. 
The same was done in Maven with 
https://github.com/apache/maven-parent/commit/b679a70738a4bf9081ee0d0a4bcfe023dfb09d16.
One can rely on the environment variable {{CI}} which should be set inside 
GHA/Jenkins.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to