diff --git a/README.md b/README.md index 00d6055b..3fba61d0 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ This action will bump version, tag commit and generate a changelog with conventi - **Optional** `git-push`: Push all the GIT changes. Default `true` - **Optional** `git-branch`: The branch used to push. Default is the current branch (`${{ github.ref }}`) - **Optional** `git-url`: Git repository domain. Default is `github.com` -- **Optional** `git-path`: Path filter for the logs. If set, only commits that match the path filter will be considered. By default, we won't use this feature(empty string). +- **Optional** `git-path`: Path filter for the logs and version. If set, only commits that match the path filter will be considered. By default, we won't use this feature(empty string). - **Optional** `preset`: Preset that is used from conventional commits. Default is `angular` ([learn more about presents here](https://github.com/TriPSs/conventional-changelog-action/issues/223)) - **Optional** `tag-prefix`: Prefix for the git tags. Default `v`. - **Optional** `input-file`: Read the changelog from this file. This will prepend the newly generated changelogs to the file's content. diff --git a/action.yml b/action.yml index 97b9cbbb..e2990722 100644 --- a/action.yml +++ b/action.yml @@ -127,7 +127,7 @@ inputs: required: false git-path: - description: "Path filter for the logs. If set, only commits that match the path filter will be considered" + description: "Path filter for the logs and version. If set, only commits that match the path filter will be considered" default: "" required: false diff --git a/dist/index.js b/dist/index.js index f8fcaa83..5c6963c3 100644 --- a/dist/index.js +++ b/dist/index.js @@ -34885,7 +34885,8 @@ async function run() { preset: await loadPreset(preset), tagPrefix, config, - skipUnstable: !prerelease + skipUnstable: !prerelease, + path: gitPath }) core.info(`Recommended release type: ${recommendation.releaseType}`) diff --git a/src/index.js b/src/index.js index c06d0d1b..722392b8 100644 --- a/src/index.js +++ b/src/index.js @@ -105,7 +105,8 @@ async function run() { preset: await loadPreset(preset), tagPrefix, config, - skipUnstable: !prerelease + skipUnstable: !prerelease, + path: gitPath }) core.info(`Recommended release type: ${recommendation.releaseType}`)