Djaytan / mc-jobs-reborn-patch-place-break

A place-break patch extension of JobsReborn plugin for Bukkit servers (Minecraft).
MIT License
5 stars 2 forks source link

ci(renovate): force "build" type for Renovate's commits #545

Closed Djaytan closed 7 months ago

Djaytan commented 7 months ago

The commits created and pushed by Renovate are not compliant with the commitlint rules, leading to failing PRs. An example: https://github.com/Djaytan/mc-jobs-reborn-patch-place-break/pull/543.

The encountered error is the following one:

⧗   input: chore(deps): update actions/cache action to v4
✖   type must be one of [feat, fix, perf, revert, refactor, build, test, ci, docs] [type-enum]

✖   found 1 problems, 0 warnings
ⓘ   Get help: https://github.com/conventional-changelog/commitlint/#what-is-commitlint

The chore type is not supported as per the specific commitlint rules (cf. the .github/commitlint.config.js file). Thus, it's important to rely on another type, and the most adapted one is build.

That's being said, the right type was supposed to be used by Renovate at committing time thanks to the :semanticCommitType(build) preset. However, for unknown reasons it doesn't work and the usage of :semanticCommitTypeAll(build) instead seams to be the way to go as per the following documentation: https://docs.renovatebot.com/semantic-commits/#changing-the-semantic-commit-type.

sonarcloud[bot] commented 7 months ago

Quality Gate Passed Quality Gate passed

Kudos, no new issues were introduced!

0 New issues
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud

github-actions[bot] commented 7 months ago

:tada: This PR is included in version 3.0.3 :tada:

The release is available on:

Your semantic-release bot :package::rocket:

github-actions[bot] commented 7 months ago

:tada: This PR is included in version 3.0.3 :tada:

The release is available on:

Your semantic-release bot :package::rocket:

github-actions[bot] commented 7 months ago

:tada: This PR is included in version 3.0.3 :tada:

The release is available on GitHub release

Your semantic-release bot :package::rocket: