fix(ci): declare version input on publish-maven#30
Merged
1 commit merged intoJul 6, 2026
Merged
Conversation
release.yml dispatches publish-maven.yml with -f version=..., but the workflow declared no inputs, so the dispatch failed with HTTP 422. Declare an optional version input (informational; the published version is resolved from the checked-out gradle.properties).
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
Contributor
Reviewer's guide (collapsed on small PRs)Reviewer's GuideThis PR updates the publish-maven GitHub Actions workflow to declare an optional Sequence diagram for release.yml dispatching publish-maven with version inputsequenceDiagram
actor release_workflow
participant github_actions
participant publish_maven_workflow
release_workflow->>github_actions: gh_workflow_run_publish_maven_with_version
alt before_version_input_declared
github_actions-->>release_workflow: HTTP_422_unexpected_inputs
else after_version_input_declared
github_actions->>publish_maven_workflow: workflow_dispatch_with_version_input
end
File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
release.yml'sdispatch-downstreamrunsgh workflow run publish-maven.yml -f version=..., but after the mkdocs retirementpublish-maven.ymldeclared noworkflow_dispatchinputs — so the dispatch fails withHTTP 422: Unexpected inputs provided: ["version"], which would break the release chain.Declare an optional
versioninput (informational only; the published version is still resolved from the checked-outgradle.properties).Summary by Sourcery
CI: