mirror of
https://github.com/go-gitea/gitea.git
synced 2026-09-08 14:03:24 +09:00
ci: add missing type/refactoring label for refactor PR titles (#38611)
Add missing mapping for `refactor` type to set `type/refactoring` label automatically on PRs.
This commit is contained in:
@@ -37,6 +37,7 @@ const typeLabels: Partial<Record<CommitType, string>> = {
|
|||||||
fix: 'type/bug',
|
fix: 'type/bug',
|
||||||
docs: 'type/docs',
|
docs: 'type/docs',
|
||||||
test: 'type/testing',
|
test: 'type/testing',
|
||||||
|
refactor: 'type/refactoring',
|
||||||
};
|
};
|
||||||
|
|
||||||
// Non-type labels, removed only when the previous title implied them.
|
// Non-type labels, removed only when the previous title implied them.
|
||||||
|
|||||||
Reference in New Issue
Block a user