hasundue/molt-action
Create pull requests to update dependencies in Deno projects with jsr.io/@molt
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Maintainedlast commit Jun 22, 2025
- License
- MIT
Pinned Snippet
uses: hasundue/molt-action@eb3099a9810f4e8a0587ae50597ee9e1a53c3446 # v1.0.3tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| author | Author of the pull request in the format of `Display Name <email@adress.com>`. | — | ${{ github.actor }} <${{ github.actor_id }}+${{ github.actor }}@users.noreply.github.com> |
| base | Base branch to create the pull request against. Defaults to the branch checked out in the workflow. | — | — |
| branch | Head branch for the pull request. | — | molt-action |
| cache-key-suffix | Suffix for the cache key (development purposes only). | — | 1.0.3 |
| commit | Whether to commit changes locally. | — | true |
| commit-prefix | Prefix for commit messages. | — | chore: |
| committer | Name of the committer in the format of `Display Name <email@address.com>` | — | github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> |
| config | Relative path to the configuration file including imports from the root directory. Ignored if `root` is not given. Set to `false` to disable auto discovery. Defaults to `deno.json` or `deno.jsonc` if available. | — | — |
| draft | Whether to create a draft pull request. | — | false |
| labels | Comma or newline-separated list of labels to add to the pull request. | — | dependencies |
| lock | Relative path to the lock file to update from the root directory. Ignored if `root` is not given. Set to `false` to disable auto discovery. Defaults to `deno.lock` if available. | — | — |
| pull-request | Whether to create a pull request. | — | true |
| root | Root directory of the relevant source files. Defaults to the shallowest directory containing `deno.json` or `deno.jsonc` if available, otherwise the repository root. | — | — |
| script | Specifier for the main script to run (development purposes only). | — | jsr:@molt/action@1.0.3 |
| source | Source files to update dependencies in, specified as glob patterns. If a Deno configuration file with imports is specified or found, this defaults to nothing. Otherwise, it defaults to `./**/*.ts`. | — | — |
| exclude | Files to exclude from dependency updates, specified as glob patterns. Files matching these patterns will be skipped even if they match the source patterns. If a directory path is specified, all files under that directory will be excluded. | — | — |
| token | GitHub token with permissions `contents: write` and `pull-requests: write` or a repo scoped personal access token (PAT). | — | ${{ github.token }} |
| write | Whether to write changes to disk. Forced to `true` if `commit` or `pull-request` is `true`. | — | true |
Outputs
| name | description |
|---|---|
| dependencies | A JSON list of updated dependencies, or an empty string. |
| files | A JSON list of updated files, or an empty string. |
| report | A detailed report of the changes made in Markdown format. |
| summary | A summary of the changes made. |