Update llms.txt #54
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: Update llms.txt | |
| on: | |
| workflow_dispatch: | |
| schedule: | |
| - cron: '0 0 * * *' | |
| permissions: write-all | |
| jobs: | |
| update-llms: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - uses: actions/setup-node@v3 | |
| with: | |
| node-version: 24 | |
| - name: Generate llms.txt | |
| run: | | |
| npm run generate-llms | |
| if git diff --exit-code public/llms.txt; then | |
| echo "No changes to llms.txt - skipping commit" | |
| exit 0 | |
| fi | |
| git config user.email "" | |
| git config user.name "Update llms.txt action" | |
| git checkout -b update-llms-txt | |
| git add public/llms.txt | |
| export COMMIT_MESSAGE="docs: update llms.txt" | |
| git commit -m "$COMMIT_MESSAGE" || true | |
| git push --set-upstream origin update-llms-txt --force | |
| gh pr create --title "$COMMIT_MESSAGE" --body "" -a "dgaponov" -a "imsitnikov" -a "vvtimofeev" 2>/dev/null || true |