feat: add exportTo option to write rendered SQL to file #7
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: Repomix | |
| on: | |
| push: | |
| branches: [master] | |
| workflow_dispatch: | |
| permissions: | |
| contents: write | |
| jobs: | |
| pack: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4 | |
| - uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4 | |
| with: | |
| node-version: 22 | |
| - run: npx -y repomix --style markdown --output llms-full.txt --ignore llms-full.txt | |
| - name: Commit llms-full.txt | |
| run: | | |
| git config user.name "github-actions[bot]" | |
| git config user.email "41898282+github-actions[bot]@users.noreply.github.com" | |
| git add llms-full.txt | |
| if git diff --cached --quiet; then | |
| echo "No changes to llms-full.txt" | |
| exit 0 | |
| fi | |
| git commit -m "chore: regenerate llms-full.txt" | |
| git push |