Skip to content

fix: remove optional create PR pattern input for consistency in commit message validation#3

Merged
srajasimman merged 1 commit intomainfrom
chore-unused-inputs-removed
Sep 22, 2025
Merged

fix: remove optional create PR pattern input for consistency in commit message validation#3
srajasimman merged 1 commit intomainfrom
chore-unused-inputs-removed

Conversation

@srajasimman
Copy link
Owner

This pull request simplifies the configuration of commit message validation by removing the ability to customize the regex pattern through the GitHub Action's inputs. The validation logic now relies on a fixed set of patterns within the code.

Configuration simplification:

  • Removed the pattern input from action.yml, so users can no longer specify a custom regex for commit message validation.

Validation logic update:

  • Updated commit-message-validator.js to use a hardcoded createPrPattern instead of reading it from action inputs, ensuring consistent validation behavior.

@srajasimman srajasimman merged commit 56d7022 into main Sep 22, 2025
1 of 2 checks passed
@srajasimman srajasimman deleted the chore-unused-inputs-removed branch September 22, 2025 19:39
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.

1 participant