Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: allow uppercase letters on pr titles. #5514

Conversation

bmartinez287
Copy link
Collaborator

@bmartinez287 bmartinez287 commented Nov 8, 2023

The Issue

Allows the PR title to hold an uppercase.
relates #5502

How This PR Solves The Issue

It changes the regular expression to allow uppercase letters.

Copy link

github-actions bot commented Nov 8, 2023

@bmartinez287 bmartinez287 marked this pull request as ready for review November 8, 2023 18:48
@bmartinez287 bmartinez287 requested a review from a team as a code owner November 8, 2023 18:48
@@ -19,7 +19,7 @@ jobs:
- name: Check Type
uses: gsactions/commit-message-checker@v2
with:
pattern: '^(build|ci|docs|feat|fix|refactor|test)(|!): [a-z].+?((, fixes #\d+)*)($|\n|\r|\n\r)'
pattern: '^(build|ci|docs|feat|fix|refactor|test)(|!): [A-Za-z].+?((, fixes #\d+)*)($|\n|\r|\n\r)'
Copy link
Member

Choose a reason for hiding this comment

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

Looks right to me. Can you test it on your fork?

Copy link
Member

Choose a reason for hiding this comment

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

Don't forget to change the docs with this.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Well, the docs already match this pattern since they ask for the first letter to be an uppercase.
It would be tricky to test it maybe as a post-commit hook but that be a bit different.

Copy link
Member

Choose a reason for hiding this comment

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

Oh, didn't even realize that was the reason for your other PR.

@rfay rfay merged commit ad4d9ae into ddev:master Nov 8, 2023
26 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants