OpenWiki Update #10
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: OpenWiki Update | |
| on: | |
| workflow_dispatch: | |
| schedule: | |
| - cron: "29 4 */3 * *" | |
| permissions: | |
| contents: write | |
| pull-requests: write | |
| jobs: | |
| update: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Check out repository | |
| uses: actions/checkout@v5 | |
| - name: Set up Node.js | |
| uses: actions/setup-node@v5 | |
| with: | |
| node-version: "22" | |
| - name: Install OpenWiki | |
| run: npm install --global openwiki | |
| - name: Run OpenWiki | |
| run: openwiki code --update --print | |
| env: | |
| OPENWIKI_PROVIDER: openrouter | |
| OPENROUTER_API_KEY: ${{ secrets.OPENROUTER_API_KEY }} | |
| OPENWIKI_MODEL_ID: xiaomi/mimo-v2.5-pro | |
| LANGCHAIN_TRACING_V2: "false" | |
| - name: Create OpenWiki update pull request | |
| uses: peter-evans/create-pull-request@5f6978faf089d4d20b00c7766989d076bb2fc7f1 # v8.1.1 | |
| with: | |
| add-paths: | | |
| openwiki | |
| AGENTS.md | |
| CLAUDE.md | |
| branch: openwiki/update | |
| commit-message: "docs: update OpenWiki" | |
| title: "docs: update OpenWiki" | |
| body: | | |
| Automated OpenWiki documentation update. | |
| This PR was generated by the scheduled OpenWiki workflow. |