Skip to content

Conversation

@vbarua
Copy link
Member

@vbarua vbarua commented Dec 17, 2025

As we squash merge in this repository, checking that individual commit message
follow the Conventional Commits spec is not useful.

Instead, enforce that the PR title and description do follow the specification,
as that does end up in the final commit.

@@ -0,0 +1,63 @@
name: PR Title Check
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vbarua
Copy link
Member Author

vbarua commented Dec 17, 2025

Addresses #640

issue_number: context.issue.number,
body: message
})
core.setFailed(message)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wonder if we could make this action simpler by not commenting on the PR? And instead just have the CI/CD check fail? I'm not so particular, this just seems simpler and easier to maintain that way 🤷

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm going to leave the comment for now, as it includes links to the conventional commit standard, which helps users understand what the requirements are explicitly.

@vbarua vbarua merged commit 9060539 into main Dec 19, 2025
11 checks passed
@vbarua vbarua deleted the vbarua/commit-lint-updates branch December 19, 2025 16:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants