Skip to content

Add shared/gh.md import and gh issues list test to smoke workflows#5776

Merged
pelikhan merged 2 commits intomainfrom
copilot/update-smoke-artifacts-import
Dec 7, 2025
Merged

Add shared/gh.md import and gh issues list test to smoke workflows#5776
pelikhan merged 2 commits intomainfrom
copilot/update-smoke-artifacts-import

Conversation

Copy link
Contributor

Copilot AI commented Dec 7, 2025

Smoke workflows now import the shared gh.md safe-input tool and verify gh issues list functionality.

Changes

  • Added imports: - shared/gh.md to 6 smoke workflows (claude, codex, copilot, copilot-no-firewall, copilot-playwright, copilot-safe-inputs)
  • Added test requirement to verify the gh safe-input tool can execute gh issues list --limit 3
  • Recompiled workflows to generate updated .lock.yml artifacts with gh tool configuration

Configuration

The shared gh tool wraps GitHub CLI and uses GH_AW_GH_TOKEN environment variable (set to secrets.GITHUB_TOKEN). All smoke workflows already have issues: read permission required for the tool to function.

Example test requirement added to workflows:

**Safe Input gh Tool Testing**: Use the `gh` safe-input tool to run "gh issues list --limit 3" to verify the tool can access GitHub issues

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • https://api.github.com/user
    • Triggering command: /usr/bin/gh gh api user --jq .login -json GO111MODULE /opt/hostedtoolcache/go/1.25.0/x64/bin/go GOINSECURE GOMOD GOMODCACHE go env it/ref/tags/v5 GO111MODULE /opt/hostedtoolcache/go/1.25.0/x64/bin/go GOINSECURE GOMOD GOMODCACHE go (http block)
    • Triggering command: /usr/bin/gh gh api user --jq .login -json GO111MODULE ir GOINSECURE GOMOD GOMODCACHE ache/go/1.25.0/x64/pkg/tool/linux_amd64/cgo env -json GO111MODULE 8052420/b341/gateway.test by/06c51e281917finfocmp GOMOD GOMODCACHE 8052420/b341/gateway.test (http block)
    • Triggering command: /usr/bin/gh gh api user --jq .login entics.git GO111MODULE 065903baac0eb945371e48e00682b7b0468/log.json GOINSECURE 7be202ead6ac59bc-1 GOMODCACHE ild-release.sh env -json GO111MODULE /opt/hostedtoolcache/go/1.25.0/x64/bin/go GOINSECURE GOMOD GOMODCACHE go (http block)

If you need me to access, download, or install something from one of these locations, you can either:

Original prompt

Update smoke artifacts to import "shared/gh.md"

Add check that "gh issues list" can be invoked through the safeinputs gh tool (update permissions issues read on job)


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot AI changed the title [WIP] Update smoke artifacts to import shared/gh.md Add shared/gh.md import and gh issues list test to smoke workflows Dec 7, 2025
Copilot AI requested a review from pelikhan December 7, 2025 14:56
@pelikhan pelikhan marked this pull request as ready for review December 7, 2025 16:09
@pelikhan pelikhan merged commit 1897ed0 into main Dec 7, 2025
5 checks passed
@pelikhan pelikhan deleted the copilot/update-smoke-artifacts-import branch December 7, 2025 16:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants