From d0cd517790e4b452887c8c126caee7c8e20e238e Mon Sep 17 00:00:00 2001 From: Joshua Temple Date: Wed, 10 Jun 2026 07:00:47 -0400 Subject: [PATCH] test: align reusable-workflow uses assertions with generated output The 09-inline-run-callback and 10-inline-job-attributes scenarios assert a sibling workflow: callback emits a jobs..uses reusable-workflow call. Both used a bare workflow filename (build.yaml), and the generator's normalizeWorkflowPath only prepends ./ to .github/-prefixed paths, so it emits uses: build.yaml verbatim. The assertions expected uses: ./build.yaml, which the generator has never produced for a bare filename. These assertions went unexercised while the e2e suite could not run; update them to match the actual generated output. Signed-off-by: Joshua Temple --- e2e/scenarios/09-inline-run-callback.yaml | 2 +- e2e/scenarios/10-inline-job-attributes.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/e2e/scenarios/09-inline-run-callback.yaml b/e2e/scenarios/09-inline-run-callback.yaml index 6672a121..8d43f867 100644 --- a/e2e/scenarios/09-inline-run-callback.yaml +++ b/e2e/scenarios/09-inline-run-callback.yaml @@ -36,7 +36,7 @@ steps: - path: ".github/workflows/orchestrate.yaml" contains: - "build-app:" - - "uses: ./build.yaml" + - "uses: build.yaml" - "build-smoke:" - "shell: bash" - 'echo "smoke check"' diff --git a/e2e/scenarios/10-inline-job-attributes.yaml b/e2e/scenarios/10-inline-job-attributes.yaml index 0651c089..e097ca07 100644 --- a/e2e/scenarios/10-inline-job-attributes.yaml +++ b/e2e/scenarios/10-inline-job-attributes.yaml @@ -53,4 +53,4 @@ steps: - "group: sign-${{ github.ref }}" - "cancel-in-progress: true" - "build-app:" - - "uses: ./build.yaml" + - "uses: build.yaml"