Skip to content

sync-readme

sync-readme #34

Workflow file for this run

name: sync-readme
on:
schedule:
- cron: "0 0 * * *" # Daily at midnight UTC
workflow_dispatch: # Manual trigger
permissions:
contents: write
issues: read
pull-requests: write
jobs:
sync-readme:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v6
- name: Setup Node.js
uses: actions/setup-node@v6
with:
node-version: "24"
- name: Setup pnpm
uses: pnpm/action-setup@v4
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Run readme update script
run: pnpm lauf run readme --yes
env:
GH_TOKEN: ${{ secrets.GH_BOT_TOKEN }}
- name: Check for changes
id: git-check
run: |
git diff --quiet README.md || echo "changed=true" >> $GITHUB_OUTPUT
- name: Commit and push if changed
if: steps.git-check.outputs.changed == 'true'
run: |
git config user.name "github-actions[bot]"
git config user.email "github-actions[bot]@users.noreply.github.com"
git add README.md
git commit -m "chore(readme): update roadmap table from GitHub Projects
Co-Authored-By: Claude <noreply@anthropic.com>"
git push