Skip to content

Pass Code Genome credentials to the migrations workflow as Gradle properties - #203

Merged
timtebeek merged 1 commit into
mainfrom
tim/rewrite-java-dependencies-fix
Oct 5, 2026
Merged

timtebeek merged 1 commit into
mainfrom
tim/rewrite-java-dependencies-fix

Conversation

@timtebeek

Copy link
Copy Markdown
Member

The scheduled migrations job failed to compile (https://github.com/openrewrite/rewrite-java-dependencies/actions/runs/37359531122) because ChangeDependency now uses the 9-arg ChangeDependencyGroupIdAndArtifactId constructor, which isn't in rewrite-maven 8.90.4 on Maven Central.

#198 exported CODEGENOME_USERNAME/CODEGENOME_TOKEN, but org.openrewrite.build.recipe-repositories only reads the codegenomeUsername/codegenomePassword Gradle properties. As a result CGP was never configured and org.openrewrite artifacts were resolved from Central. This passes them as ORG_GRADLE_PROJECT_*, matching gh-automation's ci-gradle.yml.

@timtebeek
timtebeek merged commit 8569f43 into main Oct 5, 2026
1 check passed
@timtebeek
timtebeek deleted the tim/rewrite-java-dependencies-fix branch October 5, 2026 19:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant