diff --git a/.github/actions/check-pr/index.js b/.github/actions/check-pr/index.js index 395b20a31b..b89e509707 100644 --- a/.github/actions/check-pr/index.js +++ b/.github/actions/check-pr/index.js @@ -36296,9 +36296,6 @@ function validatePostamble(title) { if (title[0] !== ' ') { return setFailed('Space missing after conventional commit preamble.'); } - if (title[1] !== title[1].toUpperCase()) { - return setFailed('PR title must start with an uppercase letter.'); - } info('✓ Title: OK'); } function getAllowedBumps(preamble, isBreaking) { diff --git a/build-packages/check-pr/validators.spec.ts b/build-packages/check-pr/validators.spec.ts index f806036a58..bb869770a0 100644 --- a/build-packages/check-pr/validators.spec.ts +++ b/build-packages/check-pr/validators.spec.ts @@ -68,13 +68,6 @@ describe('check-pr', () => { ); }); - it('should invalidate title not starting with uppercase', async () => { - await validateTitle('chore: test'); - expect(setFailed).toHaveBeenCalledWith( - 'PR title must start with an uppercase letter.' - ); - }); - it('should invalidate title with wrong commit type', async () => { await validateTitle('featt: test'); expect(setFailed).toHaveBeenCalledWith( diff --git a/build-packages/check-pr/validators.ts b/build-packages/check-pr/validators.ts index 87fda52fdf..f5958793db 100644 --- a/build-packages/check-pr/validators.ts +++ b/build-packages/check-pr/validators.ts @@ -62,10 +62,6 @@ export function validatePostamble(title: string | undefined): void { return setFailed('Space missing after conventional commit preamble.'); } - if (title[1] !== title[1].toUpperCase()) { - return setFailed('PR title must start with an uppercase letter.'); - } - info('✓ Title: OK'); }