Skip to content

synthesize learnings #19

synthesize learnings

synthesize learnings #19

Workflow file for this run

name: synthesize learnings
on:
schedule:
- cron: '0 3 * * *' # Daily at 3 AM UTC
workflow_dispatch:
permissions:
contents: write
jobs:
synthesize:
runs-on: ubuntu-latest
env:
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Synthesize learnings
run: |
python3 scripts/maintenance/synthesize_learnings.py
- name: Commit if changed
run: |
git config user.name "iterate-evolve[bot]"
git config user.email "iterate-evolve[bot]@users.noreply.github.com"
if [[ -n $(git status -s memory/ACTIVE_LEARNINGS.md) ]]; then
git add memory/ACTIVE_LEARNINGS.md
git commit -m "chore: synthesize learnings"
git pull --rebase origin main
git push
fi