summaryrefslogtreecommitdiffhomepage
path: root/.github/workflows
diff options
context:
space:
mode:
authorDax Raad <[email protected]>2026-01-29 23:49:53 -0500
committerDax Raad <[email protected]>2026-01-29 23:49:53 -0500
commit2d3c7a0f24754ea0643d9bfd6dec2df39623763f (patch)
treec69a6efa33ea46c2384f174d0857cd4dd5ac966d /.github/workflows
parentcd664a189b7c1de5232b58c180fca72b86adada6 (diff)
downloadopencode-2d3c7a0f24754ea0643d9bfd6dec2df39623763f.tar.gz
opencode-2d3c7a0f24754ea0643d9bfd6dec2df39623763f.zip
ci
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/generate.yml12
1 files changed, 6 insertions, 6 deletions
diff --git a/.github/workflows/generate.yml b/.github/workflows/generate.yml
index cbbab479e..28aaa16f7 100644
--- a/.github/workflows/generate.yml
+++ b/.github/workflows/generate.yml
@@ -24,17 +24,17 @@ jobs:
- name: Setup Bun
uses: ./.github/actions/setup-bun
+ - name: Setup git committer
+ uses: ./.github/actions/setup-git-committer
+ with:
+ opencode-app-id: ${{ vars.OPENCODE_APP_ID }}
+ opencode-app-secret: ${{ secrets.OPENCODE_APP_SECRET }}
+
- name: Generate
run: ./script/generate.ts
- name: Commit and push
run: |
- if [ -z "$(git status --porcelain)" ]; then
- echo "No changes to commit"
- exit 0
- fi
- git config --local user.email "[email protected]"
- git config --local user.name "GitHub Action"
git add -A
git commit -m "chore: generate"
git push origin HEAD:${{ github.ref_name }} --no-verify