Skip to content

iterate evolution

iterate evolution #21

Workflow file for this run

name: iterate evolution
on:
schedule:
- cron: '0 0,12 * * *' # Every 12 hours (midnight + noon UTC)
workflow_dispatch:
permissions:
contents: write
issues: write
pull-requests: write
jobs:
evolve:
runs-on: ubuntu-latest
env:
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-go@v5
with:
go-version: '1.25'
- name: Configure git
run: |
git config user.name "iterate-evolve[bot]"
git config user.email "iterate-evolve[bot]@users.noreply.github.com"
- name: Run evolution
env:
OPENCODE_API_KEY: ${{ secrets.OPENCODE_API_KEY }}
OPENCODE_BASE_URL: ${{ secrets.OPENCODE_BASE_URL || 'https://opencode.ai/zen/go/v1' }}
ITERATE_PROVIDER: opencode
ITERATE_MODEL: ${{ secrets.ITERATE_MODEL || 'kimi-k2.5' }}
GH_TOKEN: ${{ secrets.GH_PAT }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
DISCORD_WEBHOOK_URL: ${{ secrets.DISCORD_WEBHOOK_URL }}
run: |
bash scripts/evolution/evolve.sh
- name: Show log
if: always()
run: cat .iterate/evolution.log 2>/dev/null || echo "(no log)"