medusajs/Update Medusa Projects (Official)
Bump @medusajs/* packages, verify the build, optionally fix errors with Claude Code, and open a PR.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| github-token | GitHub token with contents:write and pull-requests:write permissions | yes | — |
| anthropic-api-key | Anthropic API key to enable Claude Code for auto-fixing build errors and implementing breaking changes (optional) | no | "" |
| base-branch | Base branch for the PR | no | main |
| branch-prefix | Prefix for the update branch name | no | chore/update-medusa |
| working-directory | Root directory of the repository | no | . |
| apps-directory | Subdirectory containing workspace apps in a monorepo (default: apps) | no | apps |
| create-pr | Whether to commit changes and open a pull request (set to 'false' to skip PR creation, e.g. when integrating into a custom workflow) | no | true |
| build-env | Environment variables to make available during the build step, one KEY=VALUE per line | no | "" |
| target-version | Specific @medusajs/* version to update to (e.g. 2.5.0). Defaults to the latest available version. | no | "" |
Outputs
| name | description |
|---|---|
| pr-url | URL of the created PR (empty if packages were already up-to-date) |
| updated-version | The @medusajs/* version that was applied |
| build-status | Build status: success, fixed-by-claude, or failed |