Skip to content

Resolve rewrite artifacts from the Code Genome Project repository - #528

Merged
timtebeek merged 2 commits into
masterfrom
tim/hangzhou-v2
Aug 11, 2026
Merged

Resolve rewrite artifacts from the Code Genome Project repository#528
timtebeek merged 2 commits into
masterfrom
tim/hangzhou-v2

Conversation

@timtebeek

Copy link
Copy Markdown
Member

The docs build runs rewrite-recipe-markdown-generator, whose build only adds the https://artifacts.codegenomeproject.org/maven repository when the codegenomeUsername/codegenomePassword Gradle properties are non-empty — otherwise it silently falls back to Maven Central and generates docs from stale versions. This passes those credentials from CGP_ARTIFACTS_MAVEN_USERNAME/CGP_ARTIFACTS_MAVEN_TOKEN, the same secrets the generator's own CI uses.

Note: I could not verify those secrets are visible to this repo (listing org secrets needs admin:org), so please confirm before the next scheduled run. The go install step for rewrite-go-rpc pulls from the Go module proxy and is unaffected.

The markdown generator only adds the artifacts.codegenomeproject.org repository when the codegenome credentials are set, so pass them from the same secrets its own CI uses.
@timtebeek
timtebeek merged commit c6480b3 into master Aug 11, 2026
2 checks passed
@timtebeek
timtebeek deleted the tim/hangzhou-v2 branch August 11, 2026 08:59
@github-project-automation github-project-automation Bot moved this from In Progress to Done in OpenRewrite Aug 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

1 participant