Skip to content

Commit 4d7da2f

Browse files
authored
chore: remove single-commit-must-match-PR-title validation (#897)
The validateSingleCommit + validateSingleCommitMatchesPrTitle options force contributors to keep their commit message in sync with the PR title, which is unnecessary friction — squash-merge already uses the PR title as the final commit message regardless of individual commit messages.
1 parent 84a6dde commit 4d7da2f

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

.github/workflows/pr-title.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,7 @@ jobs:
3838
The subject "{subject}" found in the pull request title "{title}"
3939
must start with a lowercase letter.
4040
Example: "feat: add deploy command"
41-
# Validate the commit message when a PR has a single commit, since
42-
# GitHub suggests using it as the merge commit message on squash-merge
43-
validateSingleCommit: true
44-
validateSingleCommitMatchesPrTitle: true
41+
validateSingleCommit: false
4542
# Skip validation for bot/dependency PRs
4643
ignoreLabels: |
4744
bot

0 commit comments

Comments
 (0)