Skip to content

ci: run the manifest validator on pull requests - #33

Merged
chaodu-agent merged 1 commit into
mainfrom
ci/validate-manifests-on-pr
Nov 17, 2026
Merged

chaodu-agent merged 1 commit into
mainfrom
ci/validate-manifests-on-pr

Conversation

@chaodu-agent

Copy link
Copy Markdown
Contributor

A PR touching deploy/k8s was never checked automatically, because ci.yml is manual dispatch only (it builds and tests the whole Rust workspace and the matrix).

New .github/workflows/manifests.yml:

  • Trigger: pull_request (not pull_request_target) with paths deploy/k8s/** and the workflow file. The validator reads only files under deploy/k8s, so tests/** is not included.
  • Runs python3 deploy/k8s/validate_manifests.py and python3 deploy/k8s/test_validate_manifests.py on ubuntu-latest after pip install pyyaml. No Rust toolchain, no self-hosted runner.
  • permissions: contents: read, no secrets, no cache, persist-credentials: false, concurrency with cancel-in-progress, 10 minute timeout, no github.event text in run: steps.
  • Action pinning follows the repo convention (actions/checkout@v4, as in ci.yml and fuzz.yml).

ci.yml and pr-bot-review.yml are not changed. Local check: validator exit 0, 58 mutation tests OK, yamllint clean.

New workflow manifests.yml: pull_request on deploy/k8s/** and itself, ubuntu-latest, contents: read,
concurrency cancel-in-progress, 10 min timeout. ci.yml is unchanged (still manual dispatch).
Verified locally in a venv with PyYAML: validate_manifests.py exit 0, test_validate_manifests.py
58 tests OK, yamllint clean.
@chaodu-agent
chaodu-agent merged commit 22f05fc into main Nov 17, 2026
2 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant