diff options
| author | Aiden Cline <[email protected]> | 2025-12-07 21:48:41 -0600 |
|---|---|---|
| committer | Aiden Cline <[email protected]> | 2025-12-07 21:48:41 -0600 |
| commit | 076c8b2ca1b12769a45206d709fd2232d167818b (patch) | |
| tree | d5a4a0daa34b8887d7a605c05ed4f04a1aa40be8 /script/format.ts | |
| parent | 9a90939ac410e3ebffb741994383d7a434069682 (diff) | |
| download | opencode-076c8b2ca1b12769a45206d709fd2232d167818b.tar.gz opencode-076c8b2ca1b12769a45206d709fd2232d167818b.zip | |
ci: fix fmt
Diffstat (limited to 'script/format.ts')
| -rwxr-xr-x | script/format.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/script/format.ts b/script/format.ts index f5a54a57f..2ae93f169 100755 --- a/script/format.ts +++ b/script/format.ts @@ -9,5 +9,6 @@ if (process.env["CI"] && (await $`git status --porcelain`.text())) { await $`git config --local user.name "GitHub Action"` await $`git add -A` await $`git commit -m "chore: format code"` - await $`git push --no-verify` + const branch = process.env["PUSH_BRANCH"] + await $`git push origin HEAD:${branch} --no-verify` } |
