smaug123/Create pull request
Create a commit for the repo in its current state, ignoring untracked files. Raise it as a pull request against the default branch, or push it to an existing branch.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| pull-request-body | Markdown string to be used as the pull request description. | no | Automated pull request. |
| branch-name | Name of the branch we are pushing to, or the prefix to be prepended to the branch name we create (in the case of raising a new PR). | yes | — |
| commit-message | String to use as the commit message. | no | Automated commit |
| pr-title | String to use as the title of the pull request. | no | — |
| target-repo | In push-to-existing-branch mode, set this to override the repo on which the branch `branch-name` is to be found. For example, MyOrg/MyRepo . | — | — |
| bearer-token | JWT to use when authenticating against the GitHub API. This must have perms as follows: * Actions: read/write; * Contents: read/write; * Pull requests: read/write. | yes | — |
Outputs
| name | description |
|---|---|
| pull-request-number | Integer ID of the pull request, if a new one was raised (so a PR visible at https://github.com/Org/Repo/pull/135 would have this value set to 135). |
| commit-sha | SHA of the commit we created. |