Skip to content

Commit c8f3391

Browse files
authored
fix: default value for target on action.yml (#121)
The default value for `target` was still `major` but it has been changed to `any` here #99.
1 parent cd3500c commit c8f3391

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

README.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ This action automatically approves and merges dependabot PRs.
1515

1616
### `exclude`
1717

18-
_Optional_ An comma separated value of packages that you don't want to auto-merge and would like to manually review to decide whether to upgrade or not.
18+
_Optional_ A comma separated value of packages that you don't want to auto-merge and would like to manually review to decide whether to upgrade or not.
1919

2020
### `approve-only`
2121

@@ -35,11 +35,13 @@ _Optional_ A custom url where the external API which is delegated the task of ap
3535

3636
### `target`
3737

38-
_Optional_ A flag to only auto-merge updates based on Semantic Versioning. Default to `major` merge. Possible options are:
38+
_Optional_ A flag to only auto-merge updates based on Semantic Versioning. Defaults to `any`.
3939

40-
`major, premajor, minor, preminor, patch, prepatch, prerelease or any`. Defaults to `any`.
40+
Possible options are:
4141

42-
For more details on how semantic version difference calculated please see [semver](https://www.npmjs.com/package/semver) package
42+
`major, premajor, minor, preminor, patch, prepatch, prerelease, any`.
43+
44+
For more details on how semantic version difference is calculated please see [semver](https://www.npmjs.com/package/semver) package.
4345

4446
### `pr-number`
4547

action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ inputs:
2626
target:
2727
description: 'Auto-merge on major, minor, patch updates based on Semantic Versioning'
2828
required: false
29-
default: 'major'
29+
default: 'any'
3030
pr-number:
3131
description: 'A pull request number, only required if triggered from a workflow_dispatch event'
3232
required: false

0 commit comments

Comments
 (0)