Files
Kilo-Org_kilo/.github/workflows/beta.yml
2026-02-04 17:06:38 -03:00

41 lines
1.1 KiB
YAML

name: beta
on:
workflow_dispatch:
schedule:
- cron: "0 * * * *"
jobs:
sync:
# kilocode_change start - disabled for kilo-cli fork (OpenCode Discord integration)
if: false
# if: |
# github.event_name == 'push' ||
# (github.event_name == 'pull_request' &&
# contains(github.event.pull_request.labels.*.name, 'contributor'))
# kilocode_change end
runs-on: blacksmith-4vcpu-ubuntu-2404
permissions:
contents: write
pull-requests: write
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Bun
uses: ./.github/actions/setup-bun
- name: Setup Git Committer
id: 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: Sync beta branch
env:
GH_TOKEN: ${{ steps.setup-git-committer.outputs.token }}
run: bun script/beta.ts