mirror of
https://github.com/lobehub/lobehub.git
synced 2026-09-20 04:56:13 +08:00
b0ef4b2ef1
⬆️ 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>
28 lines
530 B
YAML
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
|