fix: restore main-only CI policy and remove branch validation workflow

This commit is contained in:
2026-10-30 16:36:20 +08:00
parent 534795617d
commit a80f6568ff
4 changed files with 4 additions and 26 deletions
-22
View File
@@ -1,22 +0,0 @@
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