Skip to content

Commit f3a6de3

Browse files
committed
fix: drop default value for base input
1 parent 5ff1437 commit f3a6de3

2 files changed

Lines changed: 5 additions & 4 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ and passed through to it.
2929
| Name | Description | Default |
3030
| ----------------- | ------------------------------------------------------------------------------------------------------------------------ | ----------------------------------------------------------------------------------------------------------- |
3131
| `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>` |
32-
| `base` | Base branch for the pull request. | `${{ github.ref }}` |
33-
| `branch` | Head branch for the pull request. | `molt-action` |
32+
| `base` | Base branch to create the pull request against. | The branch checked out in the workflow |
33+
| `branch` | Head branch to create the pull request from. | `molt-action` |
3434
| `commit` | Whether to commit changes locally. | `true` |
3535
| `commit-prefix` | Prefix for commit messages. | `chore:` |
3636
| `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>` |

action.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,9 @@ inputs:
1414
default: ${{ github.actor }} <${{ github.actor_id }}+${{ github.actor }}@users.noreply.github.com>
1515

1616
base:
17-
description: Base branch for the pull request.
18-
default: ${{ github.ref }}
17+
description: >
18+
Base branch to create the pull request against. Defaults to the branch
19+
checked out in the workflow.
1920
2021
branch:
2122
description: Head branch for the pull request.

0 commit comments

Comments
 (0)