Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Dec 11, 2025

Enables verbose debug output for all gh CLI commands executed through the safeinputs-gh tool by setting GH_DEBUG=1.

Changes

  • .github/workflows/shared/gh.md: Added GH_DEBUG: "1" to env section
  • Lock files: Recompiled 5 workflows importing shared/gh.md to propagate the change

The environment variable is set at the step level and inherited by gh commands through the MCP server environment configuration:

env:
  GH_AW_GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
  GH_DEBUG: "1"
run: |
  echo "gh $INPUT_ARGS"
  echo "  token: ${GH_AW_GH_TOKEN:0:6}..."
  GH_TOKEN="$GH_AW_GH_TOKEN" gh $INPUT_ARGS

This enables verbose output on stderr for debugging gh CLI operations in workflows that use the shared safe-input tool.

Original prompt

Set GH_DEBUG=1 env vars when running gh in scripts/gh.md


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.


Changeset

  • Type: patch
  • Description: Add GH_DEBUG=1 env var to shared gh safe-input tool configuration to enable verbose debugging for gh commands executed via safeinputs-gh.

Ahoy! This treasure was crafted by 🏴‍☠️ Changeset Generator

@pelikhan pelikhan added the smoke label Dec 11, 2025
@github-actions
Copy link
Contributor

🔮 The ancient spirits stir... Smoke Codex awakens to divine this pull request...

@github-actions
Copy link
Contributor

📰 BREAKING: Smoke Copilot Playwright is now investigating this pull request. Sources say the story is developing...

@github-actions
Copy link
Contributor

github-actions bot commented Dec 11, 2025

📰⚠️🔥❌🚨🔧 https://github.com/githubnext/gh-aw/actions/runs/20140908544

@github-actions
Copy link
Contributor

📰 BREAKING: Smoke Copilot is now investigating this pull request. Sources say the story is developing...

@github-actions
Copy link
Contributor

github-actions bot commented Dec 11, 2025

🎉 Yo ho ho! Changeset Generator found the treasure and completed successfully! ⚓💰

278b215

@github-actions
Copy link
Contributor

💥 WHOOSH! Smoke Claude springs into action on this pull request! [Panel 1 begins...]

@github-actions
Copy link
Contributor

Smoke Test: Copilot Engine (Run 20140908535)

PRs: #6077, #4792
✅ GitHub MCP
✅ File writing
✅ Bash tools
✅ get_me tool unavailable (expected)
✅ Cache memory
✅ Tools listed
Status: PASS

📰 BREAKING: Report filed by Smoke Copilot fer issue #6152 🗺️

@github-actions
Copy link
Contributor

Smoke Test: Claude Engine (Run 20140908572)

Last 2 Merged PRs:

Test Results:

  • ✅ GitHub MCP (list PRs with pagination)
  • ✅ File Writing (/tmp/gh-aw/agent/)
  • ✅ Bash Tools (cat verification)
  • ✅ Playwright MCP (GitHub.com page title verified)
  • ✅ Cache Memory (/tmp/gh-aw/cache-memory/)

Status: PASS

💥 [THE END] — Illustrated by Smoke Claude fer issue #6152 🗺️

@github-actions
Copy link
Contributor

Recent merged PRs: Split update-project into create-project and update-project safe outputs; Fix GitHub Enterprise URL parsing and TypeScript errors
GitHub MCP: ✅
File write /tmp/gh-aw/agent: ✅
Bash readback: ✅
Playwright title check: ✅
Cache memory write: ✅
safeinputs-gh (gh issue list): ❌ (CLI unauthenticated)
Overall: FAIL

🔮 The oracle has spoken through Smoke Codex fer issue #6152 🗺️

Copilot AI changed the title [WIP] Set GH_DEBUG environment variable in gh scripts Enable GH_DEBUG for gh CLI commands in shared/gh.md safe-input tool Dec 11, 2025
Copilot AI requested a review from pelikhan December 11, 2025 17:01
@github-actions
Copy link
Contributor

Smoke Test Results (Run 20140908576)

Playwright MCP - Network connectivity failure (ERR_TUNNEL_CONNECTION_FAILED)
Cache Memory - Successfully created and verified test file
safeinputs-gh Tool - Network connectivity failure (HTTPS/TLS error)

Status: FAIL - Network connectivity issues preventing Playwright and GitHub API access.

📰 BREAKING: Report filed by Smoke Copilot Playwright fer issue #6152 🗺️

@github-actions
Copy link
Contributor

📰🚀🔍👀📡🕵️ https://github.com/githubnext/gh-aw/actions/runs/20140908544

@github-actions
Copy link
Contributor

Smoke Test Results

Last 2 Merged PRs: ❌ (safeinputs-gh: TLS handshake error)
File Write: ✅ Created /tmp/gh-aw/agent/smoke-test-copilot-20140908544.txt
Bash Tool: ✅ Verified file content
Serena MCP: ⏭️ (skipped - not critical)
Safe Input gh: ❌ (TLS handshake error with api.github.com)

Status: ❌ FAIL - safeinputs-gh tool has network connectivity issues

📰🔥📋 https://github.com/githubnext/gh-aw/actions/runs/20140908544 fer issue #6152 🗺️

@pelikhan pelikhan marked this pull request as ready for review December 11, 2025 17:10
@pelikhan pelikhan merged commit 81d0c70 into main Dec 11, 2025
15 of 16 checks passed
@pelikhan pelikhan deleted the copilot/set-gh-debug-env-vars branch December 11, 2025 17:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants