23 lines
689 B
YAML
23 lines
689 B
YAML
name: Verify database-backed documents
|
|
on:
|
|
pull_request:
|
|
branches: [main]
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
verify:
|
|
if: gitea.head_ref == 'codex/database-docs' || (gitea.event_name == 'workflow_dispatch' && gitea.ref == 'refs/heads/codex/database-docs')
|
|
runs-on: ces-control
|
|
timeout-minutes: 45
|
|
env:
|
|
DOCKER_BUILDKIT: "0"
|
|
CI_CACHE_SCOPE: pr-${{ gitea.event.pull_request.number || '0' }}
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
with:
|
|
github-server-url: ${{ gitea.server_url }}
|
|
persist-credentials: false
|
|
fetch-depth: 0
|
|
- name: Validate migration and runtime without deployment
|
|
run: python3 scripts/ci.py
|