Files
lobehub__lobehub/.github/workflows/sync-database-schema.yml
Arvin Xu b0ef4b2ef1 ⬆️ chore: upgrade actions/checkout to v7 (#19656)
⬆️ chore: upgrade actions/checkout to v7 across all workflows

- Bump actions/checkout from v3/v4/v6 to v7 (latest release v7.0.1) in 36 files (61 references)
- Includes workflows, docs example, keeping version references consistent
- Note: v7 blocks checking out fork PRs for pull_request_target / workflow_run triggers by default (safer defaults); verified existing usages only checkout the base ref so no behavior change expected

Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com>
2026-09-18 13:56:18 +08:00

28 lines
530 B
YAML

name: Database Schema Visualization CI
permissions:
contents: read
on:
push:
branches:
- main
paths:
- 'docs/development/database-schema.dbml'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
- name: Setup environment
uses: ./.github/actions/setup-env
- name: Install deps
run: pnpm install
- name: sync database schema to dbdocs
env:
DBDOCS_TOKEN: ${{ secrets.DBDOCS_TOKEN }}
run: bun run db:visualize