Skip to content

feat: add anonymous telemetry and error tracking #39

feat: add anonymous telemetry and error tracking

feat: add anonymous telemetry and error tracking #39

Workflow file for this run

name: Update llms-full.txt
on:
pull_request:
branches:
- main
paths:
- "docs/src/content/docs/**"
- "docs/scripts/generate-llms-full.ts"
- ".github/workflows/update-llms.yaml"
permissions:
contents: read
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
update-llms:
name: Update llms-full.txt
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- name: Generate token
id: generate_token
uses: actions/create-github-app-token@v3
with:
app-id: ${{ secrets.GH_APP_APP_ID }}
private-key: ${{ secrets.GH_APP_PRIVATE_KEY }}
- uses: actions/checkout@v6
with:
token: ${{ steps.generate_token.outputs.token }}
fetch-depth: 1
ref: ${{ github.head_ref }}
- uses: moonrepo/setup-toolchain@v0
with:
auto-install: true
cache: true
cache-base: main
- name: Install dependencies
run: bun install --frozen-lockfile
- name: Regenerate llms-full.txt
run: bun run docs/scripts/generate-llms-full.ts
- name: Commit changes
uses: stefanzweifel/git-auto-commit-action@v7
with:
commit_message: "docs: regenerate llms-full.txt"
file_pattern: docs/public/llms-full.txt