diff --git a/modules/gitea/guard.ts b/modules/gitea/guard.ts index fb7a31ee..1843e38c 100644 --- a/modules/gitea/guard.ts +++ b/modules/gitea/guard.ts @@ -323,7 +323,7 @@ export function judgeProtectionChange(before: BranchProtection | null, want: Pro * that enables push, drops the merge whitelist or widens it past that account is refused, whatever the rule was. */ function judgeMain(before: BranchProtection | null, want: ProtectionWanted): string | null { const why: string[] = []; - if (want.push === true) why.push("it lets a person push to main directly"); + if (want.push === true) why.push("it lets a person push to the branch directly"); if (want.mergeWhitelist !== undefined) { const names = want.mergeWhitelist ?? []; if (names.length === 0) why.push("it drops the merge whitelist of main");