summaryrefslogtreecommitdiffhomepage
path: root/.github/workflows/format.yml
diff options
context:
space:
mode:
authorAiden Cline <[email protected]>2025-12-07 20:28:50 -0600
committerAiden Cline <[email protected]>2025-12-07 20:28:50 -0600
commitd8401e1937257d56a2f3e6b48cbb8be94f7ce7e7 (patch)
tree90d7b80f093643e6554788fb1f0a8783f2f32f0e /.github/workflows/format.yml
parent55d6fcc35003f3cda747968e5f9edf78dc54de14 (diff)
downloadopencode-d8401e1937257d56a2f3e6b48cbb8be94f7ce7e7.tar.gz
opencode-d8401e1937257d56a2f3e6b48cbb8be94f7ce7e7.zip
ci: fix fmt
Diffstat (limited to '.github/workflows/format.yml')
-rw-r--r--.github/workflows/format.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/.github/workflows/format.yml b/.github/workflows/format.yml
index 58fa8fca5..f2c783d65 100644
--- a/.github/workflows/format.yml
+++ b/.github/workflows/format.yml
@@ -18,6 +18,8 @@ jobs:
uses: actions/checkout@v4
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 }}
- name: Setup Bun
uses: ./.github/actions/setup-bun
@@ -27,5 +29,3 @@ jobs:
./script/format.ts
env:
CI: true
- GITHUB_HEAD_REF: ${{ github.head_ref }}
- GITHUB_REF_NAME: ${{ github.ref_name }}