feat: add AutoWiki automation #4
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
| # factory-automation: 301defe0-2a02-4fe7-9d43-bb266b2be60e | |
| name: Droid Wiki Refresh | |
| "on": | |
| workflow_dispatch: {} | |
| pull_request: | |
| types: | |
| - opened | |
| jobs: | |
| wiki-refresh: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install Factory Droid | |
| run: curl -fsSL https://app.factory.ai/cli | sh | |
| - name: Generate wiki | |
| run: droid exec --auto high "/wiki" | |
| env: | |
| FACTORY_API_KEY: ${{ secrets.FACTORY_API_KEY }} |