From bb32e4f08b114abb2e17760bee69a9664260cfd2 Mon Sep 17 00:00:00 2001 From: Thomas Hardy Date: Thu, 11 Sep 2025 16:40:19 -0700 Subject: [PATCH 1/2] fix: resolve CI failure in mtls sample test due to GitHub Actions context expansion The 'Test run a workflow (cloud)' step was failing with 'Error: EACCES: permission denied, mkdir /certs' because ${{ runner.temp }} was not expanding properly in multi-line YAML blocks. Changes: - Convert multi-line run block to single-line format - Remove redundant create-certs-dir.js call (certs already created in prior step) - Add comment explaining why single-line format is required This ensures proper expansion of GitHub Actions context variables and prevents the '/certs' permission error. --- .github/workflows/release.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ea33e5e62..22f6813d6 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -320,10 +320,9 @@ jobs: - name: Test run a workflow (cloud) if: matrix.server == 'cloud' - run: | - # The required environment variables must be present for releases (this must be run from the official repo) - node scripts/create-certs-dir.js ${{ steps.tmp-dir.outputs.dir }}/certs - node scripts/test-example.js --work-dir "${{ runner.temp }}/example" + # The required environment variables must be present for releases (this must be run from the official repo) + # Note: Using single-line format to ensure proper ${{ runner.temp }} expansion (multi-line blocks can fail to expand GitHub Actions contexts) + run: node scripts/test-example.js --work-dir "${{ runner.temp }}/example" shell: bash env: # These env vars are used by the hello-world-mtls sample From d120872798264dffaf49da2a5ad3e73bb8fdce46 Mon Sep 17 00:00:00 2001 From: Thomas Hardy Date: Fri, 12 Sep 2025 10:28:12 -0700 Subject: [PATCH 2/2] Remove multi-line comment --- .github/workflows/release.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 22f6813d6..8bd26530d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -321,7 +321,6 @@ jobs: - name: Test run a workflow (cloud) if: matrix.server == 'cloud' # The required environment variables must be present for releases (this must be run from the official repo) - # Note: Using single-line format to ensure proper ${{ runner.temp }} expansion (multi-line blocks can fail to expand GitHub Actions contexts) run: node scripts/test-example.js --work-dir "${{ runner.temp }}/example" shell: bash env: