From d8401e1937257d56a2f3e6b48cbb8be94f7ce7e7 Mon Sep 17 00:00:00 2001 From: Aiden Cline Date: Sun, 7 Dec 2025 20:28:50 -0600 Subject: ci: fix fmt --- script/format.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'script/format.ts') diff --git a/script/format.ts b/script/format.ts index aa0e82534..f5a54a57f 100755 --- a/script/format.ts +++ b/script/format.ts @@ -5,10 +5,9 @@ import { $ } from "bun" await $`bun run prettier --ignore-unknown --write .` if (process.env["CI"] && (await $`git status --porcelain`.text())) { - const branch = process.env["GITHUB_HEAD_REF"] || process.env["GITHUB_REF_NAME"] 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"` - await $`git push origin HEAD:${branch} --no-verify` + await $`git push --no-verify` } -- cgit v1.2.3