summaryrefslogtreecommitdiffhomepage
path: root/.github
diff options
context:
space:
mode:
authorAiden Cline <[email protected]>2025-12-07 21:48:41 -0600
committerAiden Cline <[email protected]>2025-12-07 21:48:41 -0600
commit076c8b2ca1b12769a45206d709fd2232d167818b (patch)
treed5a4a0daa34b8887d7a605c05ed4f04a1aa40be8 /.github
parent9a90939ac410e3ebffb741994383d7a434069682 (diff)
downloadopencode-076c8b2ca1b12769a45206d709fd2232d167818b.tar.gz
opencode-076c8b2ca1b12769a45206d709fd2232d167818b.zip
ci: fix fmt
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/format.yml3
1 files changed, 2 insertions, 1 deletions
diff --git a/.github/workflows/format.yml b/.github/workflows/format.yml
index f2c783d65..f353d4c8f 100644
--- a/.github/workflows/format.yml
+++ b/.github/workflows/format.yml
@@ -19,7 +19,7 @@ jobs:
with:
token: ${{ secrets.GITHUB_TOKEN }}
repository: ${{ github.event.pull_request.head.repo.full_name || github.repository }}
- ref: ${{ github.event.pull_request.head.sha || github.sha }}
+ ref: ${{ github.event.pull_request.head.ref || github.ref_name }}
- name: Setup Bun
uses: ./.github/actions/setup-bun
@@ -29,3 +29,4 @@ jobs:
./script/format.ts
env:
CI: true
+ PUSH_BRANCH: ${{ github.event.pull_request.head.ref || github.ref_name }}