branoholy/Update Files Action
A GitHub action for updating files.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stalelast commit May 5, 2024
- License
- MIT
Pinned Snippet
uses: branoholy/update-files-action@0501911743c2e7bb6b6976142aa24f839771f60e # no releases — HEAD as of 2026-07-11tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| token | A token for committing the updated files and creating the pull request. | yes | — |
| branch.name | A branch name for committing the changed files and creating the pull request. | yes | — |
| branch.base | A custom base branch name. Default: default branch. | no | — |
| branch.recreate | A flag for recreating the branch if it exists. Default: `false`. | no | — |
| commit | A flag to enable/disable committing the changes. Default: `true` if any `commit.*` input is specified, otherwise `false`. | no | — |
| commit.paths | A line-separated list of paths to commit if they were changed. The glob syntax is supported. Required if `commit` is `true`. | no | — |
| commit.message | A commit message. Required if `commit.amend` is `false`. | no | — |
| commit.token | A token that can be used to commit the files instead of token. | no | — |
| commit.amend | A flag for amending the last commit. Default: `false`. | no | — |
| pull-request | A flag to enable/disable creating a pull request. Default: `true` if any `pull-request.*` input is specified, otherwise `false`. | no | — |
| pull-request.title | A custom pull request title. Default: `commit.message`. | no | — |
| pull-request.body | A custom pull request body. | no | — |
| pull-request.base | A custom base branch for the pull request. Default: default branch. | no | — |
| pull-request.labels | A line-separated list of labels. | no | — |
| pull-request.assignees | A line-separated list of assignees. | no | — |
| pull-request.reviewers | A line-separated list of reviewers. | no | — |
| pull-request.team-reviewers | A line-separated list of team reviewers. | no | — |
| pull-request.milestone | A milestone number. | no | — |
| pull-request.draft | A flag to create a pull request draft or a regular pull request. Default: `false`. | no | — |
Outputs
| name | description |
|---|---|
| commit.sha | SHA of the new commit |