openharmony-ci
Installation
SKILL.md
OpenHarmony CI
Overview
Use the bundled script first. It resolves the latest DCP event from an OpenHarmony PR, summarizes per-job CI status, and fetches logs only for failed jobs unless explicitly told otherwise.
Permission Preflight
- Treat this workflow as network-required by default.
- Before running the bundled script for
--pr,--pr-url,--event-id, artifact paths, or CI log URLs, request network permission up front. - Mention the likely endpoints in the permission request when helpful: GitCode via
oh-gc,dcp.openharmony.cn, andcidownload.openharmony.cn. - Do not intentionally run a first attempt just to confirm that network is required. The failure is usually predictable from the workflow itself.
Primary Path
Run the bundled script:
python3 scripts/openharmony_ci.py --pr <pr_number> --repo <repo>
The script sets XDG_CACHE_HOME=/tmp/openharmony-ci-cache for oh-gc by default so it does not try to write under ~/.cache in sandboxed environments. If you already need a different cache location, set XDG_CACHE_HOME before invoking the script and the script will respect it.