Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Dec 18, 2025

Staged mode previews in GitHub Actions summaries now use h4 (####) headers for individual items instead of h3 (###), improving visual hierarchy under the h2 main preview title.

Changes:

  • Updated renderItem functions in:
    • create_issue.cjs - Issue previews
    • create_pr_review_comment.cjs - Review comment previews
    • update_release.cjs - Release update previews
    • update_runner.cjs - Generic update previews (issues, PRs, discussions)
  • Updated test expectations in corresponding test files

Visual change:

## 🎭 Staged Mode: Create Issues Preview

### Issue 1              →    #### Issue 1
**Title:** Example           **Title:** Example

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 ion-precompile.git -buildtags /opt/hostedtoolcache/go/1.25.0/x64/pkg/tool/linux_amd64/link -errorsas -ifaceassert -nilfunc /opt/hostedtoolc--auto -V=f�� tags/v6 -tests (http block)
    • Triggering command: /usr/bin/gh gh api user --jq .login 6/push_to_pull_request_branch.js t/dist/workers/forks.js /opt/hostedtoolcache/go/1.25.0/x64/pkg/tool/linux_amd64/vet l (http block)
    • Triggering command: /usr/bin/gh gh api user --jq .login k/gh-aw/gh-aw/.github/workflows sting-12345 8a2f6187b0f0713f0a1703ee2fa2e1e0bf1/log.json l github.com/githuaw -lang=go1.25 infocmp -1 ithub/workflows -goversion /usr/bin/git by/1b2522d62c38c/usr/bin/containerd-shim-runc-v2 -nolocalimports -importcfg git (http block)

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

Original prompt

Reduce the default layer in summary step previews to a lower header level. One level down please. See https://github.com/githubnext/gh-aw/actions/runs/20345669543/attempts/1#summary-58457442405


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Copilot AI and others added 2 commits December 18, 2025 18:10
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot AI changed the title [WIP] Reduce default layer in summary step previews to lower header level Reduce staged preview item headers from h3 to h4 Dec 18, 2025
Copilot AI requested a review from pelikhan December 18, 2025 18:17
@pelikhan pelikhan marked this pull request as ready for review December 18, 2025 18:18
@pelikhan pelikhan merged commit a2389f6 into main Dec 18, 2025
4 checks passed
@pelikhan pelikhan deleted the copilot/reduce-default-layer-in-summary branch December 18, 2025 18:18
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