spring-boot icon indicating copy to clipboard operation
spring-boot copied to clipboard

GitHub actions is masking 'ci'

Open philwebb opened this issue 1 year ago • 1 comments

 > Task :spring-boot-project:spring-boot-devtools:checkArchitectureTest
> Task :spring-boot-project:spring-boot-devtools:checkCompileClasspathForProhibitedDependen***es
> Task :spring-boot-project:spring-boot-devtools:checkIntTestCompileClasspathForProhibitedDependen***es
> Task :spring-boot-project:spring-boot-devtools:checkIntTestRuntimeClasspathForProhibitedDependen***es
> Task :spring-boot-project:spring-boot-devtools:checkRuntimeClasspathForProhibitedDependen***es
> Task :spring-boot-project:spring-boot-devtools:checkSpringConfigurationMetadata
> Task :spring-boot-project:spring-boot-devtools:checkTestCompileClasspathForProhibitedDependen***es
> Task :spring-boot-project:spring-boot-devtools:checkTestRuntimeClasspathForProhibitedDependen***es

philwebb avatar Mar 20 '24 22:03 philwebb

We have an environment variable named CI. AIUI, GitHub Actions should only mask secret values and not plain environment variables but it appears that's not the case. https://github.com/spring-io/gradle-enterprise-conventions/issues/72 should remove the need for the environment variable but we need a release of the conventions first.

wilkinsona avatar Mar 21 '24 12:03 wilkinsona

Our CI environment variable is gone (it was set in the yaml config) but I've since learned that GitHub Actions sets the same environment variable automatically. I don't think there's anything we can do here, unfortunately.

wilkinsona avatar May 22 '24 12:05 wilkinsona