Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add 'lowercase-title' option to upgrade action (#218)
Adds 'lowercase-title' option to the 'trunk-action/upgrade' action. Specifying the option converts the PR / commit title "Upgrade trunk" to lowercase, i.e. "upgrade trunk" Example usage: - uses: trunk-io/trunk-action/upgrade@v1 with: prefix: "chore(deps): " lowercase-title: true This change makes it possible to use the trunk upgrade action in a way that conforms to the commitlint '@commitlint/config-conventional' configuration which specifies that commit message subject must not be sentence-case, start-case, pascal-case, upper-case. With the default commit message title "Upgrade trunk" and `prefix: "chore(deps): "` the following error is emitted by commitlint using `config-conventional`: ⧗ input: chore(deps): Upgrade trunk to 1.19.0 ✖ subject must not be sentence-case, start-case, pascal-case, upper-case [subject-case] ✖ found 1 problems, 0 warnings ⓘ Get help: https://github.com/conventional-changelog/commitlint/#what-is-commitlint
- Loading branch information