Skip to content

Commit

Permalink
fix: default value for target on action.yml (#121)
Browse files Browse the repository at this point in the history
The default value for `target` was still `major` but it has been changed
to `any` here #99.
  • Loading branch information
nuragic authored Dec 7, 2021
1 parent cd3500c commit c8f3391
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
10 changes: 6 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ This action automatically approves and merges dependabot PRs.

### `exclude`

_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.
_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.

### `approve-only`

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

### `target`

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

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

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

For more details on how semantic version difference is calculated please see [semver](https://www.npmjs.com/package/semver) package.

### `pr-number`

Expand Down
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ inputs:
target:
description: 'Auto-merge on major, minor, patch updates based on Semantic Versioning'
required: false
default: 'major'
default: 'any'
pr-number:
description: 'A pull request number, only required if triggered from a workflow_dispatch event'
required: false
Expand Down

0 comments on commit c8f3391

Please sign in to comment.