Skip to content

Generate Roadmap

Generate Roadmap #380

name: Generate Roadmap
on:
schedule:
- cron: '0 */12 * * *' # Every 12 hours
workflow_dispatch: # Allows manual triggering
jobs:
generate:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup Bun
uses: oven-sh/setup-bun@v1
with:
bun-version: latest
- name: Install dependencies
run: bun install
working-directory: .
- name: Generate Roadmap
run: bun run index.ts roadmap
env:
GH_TOKEN: ${{ secrets.GH_PROJECT_TOKEN }}
GH_ORG_NAME: noekohq
GH_PROJECT_NO: 1
GH_TARGET_FIELD: "roadmap Horizon"
GEMINI_API_KEY: ${{ secrets.GEMINI_API_KEY }}
GEMINI_MODEL: "gemini-2.5-flash"
- name: Commit and push changes
run: |
git config --local user.email "action@github.com"
git config --local user.name "GitHub Action"
git add generated/roadmap.json
git commit -m "docs: update roadmap [skip ci]" || echo "No changes to commit"
git push