| target-commit | Commit to compare changes against (usually branch merging to) | no | ${{ github.event.pull_request.base.sha || github.event.before }} |
| source-commit | Commit to compare changes to target-commit (usually pr branch to merge) | no | ${{ github.event.pull_request.head.sha || github.event.after }} |
| patch-limit | Top how many % of changes limit to increase a patch version vA.B.(C+1) | — | 10 |
| minor-limit | Top how many % of changes limit to increase a minor version vA.(B+1).C | — | 75 |
| directory | Base directory to check the changes | — | . |
| exclude | List of files, paths, patterns (./*path*) to exclude from changes checking (comma separated) | — | "" |
| include | List of files, paths, patterns (./*path*) to include only for changes checking (comma separated) | — | "" |
| exclude-gitignore | Parse gitignore files to exlude comparing files based on the content of those gitinores (default true) | — | true |
| v-prefix | Include the 'v' prefix in the version tag: vA.B.C | — | true |
| is-alpha | Mark this version as an alpha | — | false |
| is-beta | Mark this version as a beta | — | false |
| is-rc | Mark this version as a release candidate | — | false |
| is-draft | Mark this version as a draft | — | false |
| is-prerelease | Mark this version as a prerelease | — | false |
| alpha-key | Text to put if the version is alpha (default 'alpha') | — | alpha |
| beta-key | Text to put if the version is beta (default 'beta') | — | beta |
| rc-key | Text to put if the version is rc (default 'rc') | — | rc |
| debug | Show debug messages | — | false |
| create-tag | Create release tag after calculating it | — | true |
| create-major-tag | Create release major tag after calculating it. (Ex. v3) | — | true |
| create-minor-tag | Create release minor tag after calculating it. (Ex. v3.1) | — | true |
| create-latest-tag | Create release latest tag after calculating it | — | true |
| prerelease-tag | Prerelease tag to add at the end of the version tag | — | "" |
| build-metadata | Build metadata to add at the end of the version tag | — | "" |
| prerelease-separator | Separator for the prerelease tag (A.B.C<sep>tag), defaults to '-' | — | - |
| build-separator | Separator for the build-metadata tag (A.B.C<sep>tag), defaults to '+' | — | + |
| version-separator | Separator for the version tag (A<sep>B<sep>C), defaults to '.' | — | . |
| github-token | Github Token to create the tag at the end of the process (required if want to create tag at the end) | — | ${{ github.token }} |