summaryrefslogtreecommitdiffhomepage
path: root/.github/workflows/format.yml
diff options
context:
space:
mode:
authorDax Raad <[email protected]>2025-12-09 19:41:17 -0500
committerDax Raad <[email protected]>2025-12-09 19:41:23 -0500
commit1efdceaf1010c8db21d8b9ef2ec213eba7472dd5 (patch)
tree3a28c19ee94c7ecd27015f480117db76eca73282 /.github/workflows/format.yml
parent632a0fe00990d22ea30ebdcf1321524027bd0d70 (diff)
downloadopencode-1efdceaf1010c8db21d8b9ef2ec213eba7472dd5.tar.gz
opencode-1efdceaf1010c8db21d8b9ef2ec213eba7472dd5.zip
ci: combine sdk and format workflows into single generate workflow
Diffstat (limited to '.github/workflows/format.yml')
-rw-r--r--.github/workflows/format.yml37
1 files changed, 0 insertions, 37 deletions
diff --git a/.github/workflows/format.yml b/.github/workflows/format.yml
deleted file mode 100644
index 488d8c4a2..000000000
--- a/.github/workflows/format.yml
+++ /dev/null
@@ -1,37 +0,0 @@
-name: format
-
-on:
- push:
- branches-ignore:
- - production
- pull_request:
- branches-ignore:
- - production
- workflow_dispatch:
- workflow_run:
- workflows: ["sdk"]
- types:
- - completed
-jobs:
- format:
- runs-on: blacksmith-4vcpu-ubuntu-2404
- if: github.event.workflow_run.conclusion == 'success'
- permissions:
- contents: write
- steps:
- - name: Checkout repository
- 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.ref || github.ref_name }}
-
- - name: Setup Bun
- uses: ./.github/actions/setup-bun
-
- - name: run
- run: |
- ./script/format.ts
- env:
- CI: true
- PUSH_BRANCH: ${{ github.event.pull_request.head.ref || github.ref_name }}