Skip to content

Commit 7b61ff5

Browse files
committed
docs: fix outdated docs about the pull input
closes #354
1 parent 017fbd6 commit 7b61ff5

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1818
- **[BREAKING]** The `signoff` input has been removed, use `commit` instead. (#331)
1919
- **[BREAKING]** The `pull_strategy` input has been removed, use `pull` instead.
2020
- **[BREAKING]** The `branch` and `branch_mode` inputs have been removed, check commit [`6fdb34e`](https://github.com/EndBug/add-and-commit/commit/6fdb34ed01d242c909eeb7e31bf1c4d37db43a54) for more info.
21+
- **[BREAKING]** The `pull` input doesn't support `NO-PULL` anymore: if you don't want the action to pull, simply remove the input, as it's the default behavior now.
2122

2223
### Added:
2324

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,9 +66,9 @@ Add a step like this to your workflow:
6666
# Default: ignore
6767
pathspec_error_handling: ignore
6868

69-
# Arguments for the git pull command. Use NO-PULL to avoid the action pulling at all.
70-
# Default: '--no-rebase'
71-
pull: 'NO-PULL or --rebase --autostash ...'
69+
# Arguments for the git pull command. By default, the action does not pull.
70+
# Default: ''
71+
pull: '--rebase --autostash ...'
7272

7373
# Whether to push the commit and, if any, its tags to the repo. It can also be used to set the git push arguments (see the paragraph below for more info)
7474
# Default: true

0 commit comments

Comments
 (0)