From 8d11df1b3b9eb40510e0877318b238a7780a16fc Mon Sep 17 00:00:00 2001 From: Aiden Cline Date: Thu, 18 Dec 2025 14:33:40 -0600 Subject: ci: handle case where generate.yml fails better --- script/format.ts | 9 --------- 1 file changed, 9 deletions(-) (limited to 'script/format.ts') diff --git a/script/format.ts b/script/format.ts index 2ae93f169..996de9ad0 100755 --- a/script/format.ts +++ b/script/format.ts @@ -3,12 +3,3 @@ import { $ } from "bun" await $`bun run prettier --ignore-unknown --write .` - -if (process.env["CI"] && (await $`git status --porcelain`.text())) { - await $`git config --local user.email "action@github.com"` - await $`git config --local user.name "GitHub Action"` - await $`git add -A` - await $`git commit -m "chore: format code"` - const branch = process.env["PUSH_BRANCH"] - await $`git push origin HEAD:${branch} --no-verify` -} -- cgit v1.2.3