shaftoe/Update Bun Dependencies
Update Bun project dependencies, resolving latest versions from the npm registry
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| working-directory | Working directory containing package.json | no | . |
| latest | Resolve and install absolute latest versions (ignoring semver ranges in package.json) | no | false |
| registry-url | npm registry URL | no | https://registry.npmjs.org |
| token | Bearer token for private registries | no | "" |
| create-pr | Create a pull request with the updated files (uses GITHUB_TOKEN) | no | false |
| pr-branch | Branch name for the pull request | no | deps/update |
| pr-title | Title for the pull request | no | chore: update dependencies |
| pr-commit-message | Commit message for the update | no | chore: update dependencies |
| pr-labels | Comma-separated list of labels to add to the PR | no | "" |
| pr-update-strategy | How to handle an existing PR/branch: "update" reuses the branch and updates the existing PR (default); "create" creates a unique branch per run. | no | update |
| post-update-run | Command to run after dependencies are updated but before the PR is created (e.g. "bun test") | no | "" |
Outputs
| name | description |
|---|---|
| updated-packages | JSON map of packages that were updated { "name": { "from": "x", "to": "y" } } |
| pr-url | URL of the created pull request (empty if create-pr is false) |