fix(gitea-bot): add write:organization scope so bot can create repos

Without this the bot PAT 403s on POST /orgs/{org}/repos, which is
the single most important operation — creating new project repos
inside the workspace's Gitea org.

Made-with: Cursor
This commit is contained in:
2026-04-21 11:05:55 -07:00
parent d9d3514647
commit 6f79a88abd
66 changed files with 2088 additions and 1713 deletions

View File

@@ -1,4 +1,20 @@
import type { Metadata } from "next";
import { Plus_Jakarta_Sans } from "next/font/google";
import { Toaster } from "sonner";
import { JustineAuthShell } from "@/marketing/components/justine/JustineAuthShell";
import "../styles/justine/02-signup.css";
const justineJakarta = Plus_Jakarta_Sans({
subsets: ["latin"],
weight: ["400", "500", "600", "700", "800"],
variable: "--font-justine-jakarta",
display: "swap",
});
export const metadata: Metadata = {
title: "Sign in · vibn",
description: "Sign in to your vibn workspace with Google.",
};
export default function AuthLayout({
children,
@@ -6,10 +22,12 @@ export default function AuthLayout({
children: React.ReactNode;
}) {
return (
<>
{children}
<div
data-justine-auth
className={`${justineJakarta.variable} justine-auth-root flex min-h-screen flex-col`}
>
<JustineAuthShell>{children}</JustineAuthShell>
<Toaster position="top-center" />
</>
</div>
);
}

View File

@@ -29,10 +29,10 @@ function AuthPageInner() {
if (status === "loading") {
return (
<div className="flex min-h-screen items-center justify-center bg-background">
<div className="text-center">
<div className="h-8 w-8 animate-spin rounded-full border-4 border-primary border-t-transparent mx-auto mb-4" />
<p className="text-muted-foreground">Loading authentication...</p>
<div className="justine-auth-inner">
<div className="justine-auth-loading-wrap">
<div className="justine-auth-spinner" aria-hidden />
<p className="justine-auth-loading-text">Loading authentication</p>
</div>
</div>
);