Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: default value for target on action.yml #121

Merged
merged 1 commit into from
Dec 7, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
fix: default value for target on action.yml
The default value for `target` was still `major` but it has been changed
to `any` here #99.
  • Loading branch information
nuragic committed Dec 7, 2021
commit 4d11e11a73ef3f2ae9039cd707dbd7101e372154
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