Skip to content

Multi-tier framework for evaluating AI agent skills and plugins with quality gates, security scanning, harness compatibility checks, semantic overlap detection, synthetic evaluation dataset generation, and live agent evaluation that measures how skills affect agent behavior. Ships reusable CI templates that bring every check to any repository.

fix(ci): allow evaluation jobs to opt out of deployment records (#777)

Christopher Kevinbf44a2470483
diff --git a/.github/workflows/evaluate-all-tiers.yml b/.github/workflows/evaluate-all-tiers.yml
index 36d1e854..fe9297a3 100644
--- a/.github/workflows/evaluate-all-tiers.yml
+++ b/.github/workflows/evaluate-all-tiers.yml
@@ -89,6 +89,10 @@ on:
description: Execution environment with optional repository-configured reviewers
type: string
default: skillevaluator
+ environment-deployment:
+ description: Create deployment records; keep true for custom deployment protection apps
+ type: boolean
+ default: true
tier3-required:
description: Deprecated and ignored; Tier 2 and Tier 3 are always advisory
type: boolean
@@ -230,7 +234,9 @@ jobs:
# A PR that changes no skill skips the paid tiers; the aggregate records them as skipped.
if: ${{ needs.eligibility.outputs.allowed == 'true' && needs.eligibility.outputs.skills-changed == 'true' }}
runs-on: ${{ inputs.runner }}
- environment: ${{ inputs.environment }}
+ environment:
+ name: ${{ inputs.environment }}
+ deployment: ${{ inputs.environment-deployment }}
permissions:
contents: read
pull-requests: read
@@ -370,7 +376,9 @@ jobs:
if: ${{ inputs.tier1-llm && needs.eligibility.outputs.allowed == 'true' && needs.eligibility.outputs.skills-changed == 'true' && contains(format(',{0},', inputs.tiers), ',1,') }}
# Match the keyless image job even when native Tier 3 uses a local runner.
runs-on: ubuntu-24.04
- environment: ${{ inputs.environment }}
+ environment:
+ name: ${{ inputs.environment }}
+ deployment: ${{ inputs.environment-deployment }}
permissions:
contents: read
pull-requests: read
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 7b76d242..6414dc48 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -6,6 +6,8 @@ All notable changes to SkillEvaluator are documented in this file.
### Fixed
+- Allow GitHub all-tier CI to opt out of deployment records while retaining
+ environment secrets. Existing consumers keep deployment tracking by default.
- Point the PyPI Documentation link at the NVIDIA documentation instead of the GitHub
README, starting with the next release. Published 1.0.1 metadata is unchanged.
diff --git a/ci/templates/all-tiers/README.md b/ci/templates/all-tiers/README.md
index f36184d9..d9042356 100644
--- a/ci/templates/all-tiers/README.md
+++ b/ci/templates/all-tiers/README.md
@@ -123,6 +123,16 @@ Environment reviewers are optional: configure them if your repository wants
manual approval; automatic checks do not require a paid reviewer-protection
feature. Restrict repository and CI workflow write access to trusted maintainers.
GitLab's protected execution and feedback prerequisites are described below.
+
+On a GitHub workflow revision that supports `environment-deployment`, set
+`environment-deployment: false` in the evaluation caller's `with` block to use
+environment secrets and variables without creating deployment records for CI.
+The default is `true`, preserving existing consumers. Required reviewers and wait
+timers still apply with `false`; custom deployment protection apps require `true`.
+The published 1.0.1 workflow pins predate this input. Upgrade to a reviewed
+supporting workflow revision before adding it, and refresh the trusted feedback
+caller's approved workflow reference and caller blob together.
+
Choose matching chat and embedding configuration with `--provider`,
`--embedding-provider`, `--model`, and `--embedding-model`; the default embedding
provider follows OpenAI or NVIDIA Build; Anthropic defaults to OpenAI embeddings
diff --git a/tests/ci/test_all_tier_workflows.py b/tests/ci/test_all_tier_workflows.py
index 08d298e7..9a556532 100644
--- a/tests/ci/test_all_tier_workflows.py
+++ b/tests/ci/test_all_tier_workflows.py
@@ -30,7 +30,14 @@ def test_required_tier1_reuses_hardened_workflow_and_parallel_paid_tiers():
paid = workflow["jobs"]["paid-tiers"]
assert paid["strategy"]["fail-fast"] == "false"
assert paid["strategy"]["matrix"]["tier"] == ["2", "3"]
- assert paid["environment"] == "${{ inputs.environment }}"
+ # Existing consumers retain deployment tracking and custom protection apps.
+ assert inputs["environment-deployment"]["type"] == "boolean"
+ assert inputs["environment-deployment"]["default"] == "true"
+ for name in ("paid-tiers", "tier1-llm"):
+ assert workflow["jobs"][name]["environment"] == {
+ "name": "${{ inputs.environment }}",
+ "deployment": "${{ inputs.environment-deployment }}",
+ }
assert "eligibility" in paid["needs"]
assert "needs.eligibility.outputs.allowed" in paid["if"]
checkouts = [s for s in paid["steps"] if s.get("uses", "").startswith("actions/checkout@")]
diff --git a/tests/ci/test_gateway_benchmark_workflows.py b/tests/ci/test_gateway_benchmark_workflows.py
index 881c8252..12efae50 100644
--- a/tests/ci/test_gateway_benchmark_workflows.py
+++ b/tests/ci/test_gateway_benchmark_workflows.py
@@ -29,7 +29,7 @@ def test_enriched_tier1_requires_admission_and_keeps_the_keyless_path():
assert enriched["runs-on"] == "ubuntu-24.04"
assert "inputs.tier1-llm" in enriched["if"]
assert "needs.eligibility.outputs.allowed == 'true'" in enriched["if"]
- assert enriched["environment"] == "${{ inputs.environment }}"
+ assert enriched["environment"]["name"] == "${{ inputs.environment }}"
check = next(step for step in enriched["steps"] if step.get("id") == "current-head")
evaluate = next(step for step in enriched["steps"] if "run_tier1_image.py" in step.get("run", ""))
assert enriched["steps"].index(check) < enriched["steps"].index(evaluate)