chore: retitle translatewiki PRs - #10210
Merged
Merged
Conversation
mikeharv
approved these changes
Jul 30, 2026
| /^(build|chore|ci|docs|feat|fix|refactor|release|revert|test)(\([^)]*\))?!?:/; | ||
|
|
||
| // Strip trailing full stops / whitespace, then prepend "chore: " | ||
| // unless the title already starts with a conventional type. |
Contributor
There was a problem hiding this comment.
This is probably fine, but it's also probably checking for more things than we'll ever see with these particular PRs.
Contributor
Author
There was a problem hiding this comment.
don't think it's hurting anything tho, and prevents actual PRs from being rewritten to be chores against their will.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The basics
The details
Resolves
Fixes translatewiki PRs requiring hand-editing the PR title
Proposed Changes
adds workflow that retitles translatewiki prs to meet commit-lint and label appropriately
Reason for Changes
i'm lazy
note that the reason the existing commit-lint jobs have to skip translatewiki PRs is that github won't re-run workflows that would be triggered by edits made by the default github access token, like we're doing in the new workflow. this is to avoid infinite loops of workflows rerunning. so in order to prevent a spurious lint failure, we just skip it and do the label ourselves
Test Coverage
Documentation
Additional Information
it has a generic automation title because i also want to add a check that yells if translatewiki tries to edit files outside of msg/