This repository was archived by the owner on Sep 18, 2025. It is now read-only.
Grok Revisions #20
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: Generate Repository Text | |
| on: | |
| push: | |
| branches: [ main ] | |
| pull_request: | |
| branches: [ main ] | |
| workflow_dispatch: # Allows manual triggering | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v3 | |
| - name: Set up Python | |
| uses: actions/setup-python@v4 | |
| with: | |
| python-version: '3.12' | |
| - name: Install dependencies | |
| run: | | |
| python -m pip install --upgrade pip | |
| pip install hatchling pathspec argparse PyYAML | |
| - name: Install repo-to-text | |
| run: | | |
| pip install repo-to-text | |
| - name: Run repo-to-text | |
| run: | | |
| repo-to-text . --output-dir ./output | |
| - name: Upload output as artifact | |
| uses: actions/upload-artifact@v3 | |
| with: | |
| name: repo-text-output | |
| path: ./output/repo-to-text_*.txt |