Skip to content

Update TOC

Update TOC #1759

Workflow file for this run

name: Update TOC
on:
issues:
types: [opened, edited, deleted, closed, reopened, locked, unlocked]
workflow_dispatch:
schedule:
- cron: "0 0 */1 * *"
jobs:
build:
runs-on: macos-latest
permissions:
issues: read
contents: write
steps:
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v2
with:
version: 7.13.4
- uses: actions/setup-node@v3
with:
node-version: 18.x
cache: "pnpm"
- run: make setup
- run: make build
- run: node lib/index.js update-toc
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
LOG_LEVEL: info