diff options
| author | Aiden Cline <[email protected]> | 2025-12-18 14:33:40 -0600 |
|---|---|---|
| committer | Aiden Cline <[email protected]> | 2025-12-18 14:33:40 -0600 |
| commit | 8d11df1b3b9eb40510e0877318b238a7780a16fc (patch) | |
| tree | 20a457327f52d06484912b6480d999fae59abc0e /script/format.ts | |
| parent | ecc505083864bd0055e9cd23153d1021b6d202ca (diff) | |
| download | opencode-8d11df1b3b9eb40510e0877318b238a7780a16fc.tar.gz opencode-8d11df1b3b9eb40510e0877318b238a7780a16fc.zip | |
ci: handle case where generate.yml fails better
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` -} |
