From 30d65b90d39920104b748f86a2abebd168a68a1d Mon Sep 17 00:00:00 2001 From: Elior Erez Date: Fri, 7 Aug 2026 01:08:27 -0400 Subject: [PATCH] Tee the org-permissions diagnostic to the job log $GITHUB_STEP_SUMMARY content isn't retrievable via the REST/GraphQL API -- only the Actions web UI renders it. Tee the same output to stdout too, so it's readable from a normal 'gh run view --log'. --- .github/workflows/apply.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/apply.yaml b/.github/workflows/apply.yaml index 22ec489..26547ea 100644 --- a/.github/workflows/apply.yaml +++ b/.github/workflows/apply.yaml @@ -94,7 +94,7 @@ jobs: echo echo "### Runner-related" jq -r '.[] | select(.description | test("runner"; "i")) | "- `\(.name)`: \(.description)"' /tmp/org-perms.json - } >> "$GITHUB_STEP_SUMMARY" + } | tee -a "$GITHUB_STEP_SUMMARY" - name: Setup OpenTofu uses: opentofu/setup-opentofu@v2 with: