diff options
Diffstat (limited to 'script/format.ts')
| -rwxr-xr-x | script/format.ts | 9 |
1 files changed, 0 insertions, 9 deletions
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 "[email protected]"` - 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` -} |
