From 965c70bd1ddb0b770315f81dee3c64e2f8c9d8be Mon Sep 17 00:00:00 2001 From: Haim Natan Date: Wed, 22 Oct 2025 15:35:53 +0300 Subject: [PATCH] Add step to extract runId from port_context in GitHub Actions workflow --- docs/guides/all/scaffold-a-new-service.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/docs/guides/all/scaffold-a-new-service.md b/docs/guides/all/scaffold-a-new-service.md index d5d248e446..e6544fa297 100644 --- a/docs/guides/all/scaffold-a-new-service.md +++ b/docs/guides/all/scaffold-a-new-service.md @@ -331,11 +331,14 @@ If the GitHub organization which will house your workflow is not the same as the env: //highlight-next-line ORG_NAME: - PORT_RUN_ID: ${{ fromJson(inputs.port_context).runId }} steps: - uses: actions/checkout@v4 - + + - name: Extract runId from port_context + run: | + echo "PORT_RUN_ID=$(echo '${{ inputs.port_context }}' | jq -r .runId)" >> $GITHUB_ENV + - name: Create a log message uses: port-labs/port-github-action@v1 with: