Files
ai-passport/docs/development/ci/CI-validation.md
T
Shinku cbede2d2fa docs: reorganize reference area and unify directory READMEs
Reorganize the AI-agent documentation by function area:
- Move the plays/ application archive and experiences into docs/reference/, grouped by contributor <username>/ (flat experience entries + application subdirectories), with a single reference/README entry.
- Add a second level under docs/development/ (engineering/, ci/, release/); fold agent-guide into ai-guide; flatten the six project-completion sub-documents into one file.
- Unify each directory to a single README (drop every INDEX); fold assets/{fonts,images,music} README leaves into assets/README; remove the empty docs/software-design/.
- Add an upstream-PR rule: do not add or modify the repository-root README.
- Update all cross-references and bibliographic links (EN/ZH aligned); validate.sh --static passes. The repository-root README is left untouched.
2026-08-31 15:05:42 +08:00

1.2 KiB

简体中文 · English

Pull Request Validation

.github/workflows/ci.yml runs for pull requests, pushes to main, and manual dispatch. Local development and CI share tools/validate.sh.

Jobs

  • Repository and host checks: validates English-default bilingual Markdown, relative links, full-SHA Actions, issue forms, the dependency lock, conflict markers, and likely sensitive data; then runs actionlint and host tests.
  • ESP-IDF 5.5.3 firmware: runs ./tools/validate.sh --firmware for ESP32-C3 in a fresh isolated build/configuration directory, verifies the build and merged 0x0 image contents/offsets, and retains the artifact for seven days.

The workflow has only contents: read and uses no repository secrets, so it can validate fork pull requests. Every GitHub Action is pinned to a full commit SHA.

Reproduce locally

./tools/validate.sh --static
source <path-to-esp-idf-v5.5.3>/export.sh
./tools/validate.sh --firmware

Follow the environment bootstrap if ESP-IDF 5.5.3 is not installed. Reproduce a CI failure with the same mode locally. Do not maintain duplicate validation commands inside the workflow.