From ae132c109974a0fb8121f9529a680a1b49e05e9e Mon Sep 17 00:00:00 2001 From: Leonard Du Date: Tue, 28 Jul 2026 09:58:52 +1000 Subject: [PATCH] fix(ci): fix shell syntax in authorize job The '#' in "Authorized PR #${{ ... }}" was interpreted as a YAML comment, so the shell received an unterminated double-quoted string and failed with 'unexpected EOF while looking for matching "'. Wrap the whole run: line in single quotes and drop the '#'. Follow-up to #1266 / MSRC #127928. Verified via retest PR #1267 -- the authorize job fired the right shell command; only the shell payload was broken. Scanned all workflows: no other run: lines mix double-quoted strings with '#' outside a multi-line block. --- .github/workflows/terraform-integration.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/terraform-integration.yml b/.github/workflows/terraform-integration.yml index da832f62ad..6e12bac153 100644 --- a/.github/workflows/terraform-integration.yml +++ b/.github/workflows/terraform-integration.yml @@ -24,7 +24,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Authorized - run: echo "Authorized PR #${{ github.event.pull_request.number }} head=${{ github.event.pull_request.head.sha }}" + run: 'echo "Authorized PR ${{ github.event.pull_request.number }} head=${{ github.event.pull_request.head.sha }}"' terraform-test: needs: authorize