Skip to content

Commit b3f86cc

Browse files
EMaherCopilot
andcommitted
refactor: rename test-resource-types.yml to test-round-trip.yml
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 6351503 commit b3f86cc

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

.github/skills/integration-test-prerequisites/SKILL.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ source: "manual + observed from integration-test OIDC and RBAC troubleshooting"
1010

1111
Use this skill when preparing or repairing prerequisites for:
1212

13-
- `.github/workflows/test-resource-types.yml` — Extract→Publish round-trip
13+
- `.github/workflows/test-round-trip.yml` — Extract→Publish round-trip
1414
- `.github/workflows/test-redact-secrets.yml` — Secret redaction validation
1515
- `.github/workflows/test-all.yml` — Orchestrator that calls CI, then both integration-test workflows sequentially
1616

@@ -21,7 +21,7 @@ These workflows expect:
2121
- GitHub environment `integration-test` (shared by all integration workflows)
2222
- Azure identity with enough permissions to deploy resources and create role assignments in test resource groups
2323

24-
The `test-all.yml` orchestrator calls `ci.yml` (no Azure prereqs), then `test-resource-types.yml` and `test-redact-secrets.yml`. The called workflows access secrets directly from the `integration-test` environment — no secret pass-through from the orchestrator is needed.
24+
The `test-all.yml` orchestrator calls `ci.yml` (no Azure prereqs), then `test-round-trip.yml` and `test-redact-secrets.yml`. The called workflows access secrets directly from the `integration-test` environment — no secret pass-through from the orchestrator is needed.
2525

2626
Preferred identity model: user-assigned managed identity (UAMI).
2727

@@ -149,7 +149,7 @@ gh secret set APIM_PUBLISHER_EMAIL \
149149

150150
### 6) Verify Called Workflows Can Access Environment Secrets
151151

152-
The `test-all.yml` orchestrator does **not** pass secrets to called workflows. Instead, the called workflows (`test-resource-types.yml`, `test-redact-secrets.yml`) access secrets directly via their `environment: integration-test` declaration. Each called workflow includes a "Validate Required Secrets" step that fails fast with a clear error if any secret is missing.
152+
The `test-all.yml` orchestrator does **not** pass secrets to called workflows. Instead, the called workflows (`test-round-trip.yml`, `test-redact-secrets.yml`) access secrets directly via their `environment: integration-test` declaration. Each called workflow includes a "Validate Required Secrets" step that fails fast with a clear error if any secret is missing.
153153

154154
No repo-level secrets are required — all secrets are scoped to the `integration-test` environment.
155155

.github/workflows/test-all.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ jobs:
5252
all-types-integration:
5353
name: All-Types Integration Test
5454
needs: ci
55-
uses: ./.github/workflows/test-resource-types.yml
55+
uses: ./.github/workflows/test-round-trip.yml
5656
with:
5757
sku: ${{ inputs.sku || vars.DEFAULT_SKU || 'StandardV2' }}
5858
location: ${{ inputs.location || vars.DEFAULT_LOCATION || 'centralus' }}

0 commit comments

Comments
 (0)