Skip to content

chore: sync actions from gh-aw@v0.80.4#161

Merged
pelikhan merged 1 commit into
mainfrom
sync/gh-aw-v0.80.4
Jun 18, 2026
Merged

chore: sync actions from gh-aw@v0.80.4#161
pelikhan merged 1 commit into
mainfrom
sync/gh-aw-v0.80.4

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

Automated sync of actions from gh-aw at v0.80.4.

@pelikhan pelikhan marked this pull request as ready for review June 18, 2026 05:48
Copilot AI review requested due to automatic review settings June 18, 2026 05:48
@pelikhan pelikhan merged commit 00c24a5 into main Jun 18, 2026
9 checks passed
@pelikhan pelikhan deleted the sync/gh-aw-v0.80.4 branch June 18, 2026 05:49

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Synces the repository’s setup/ and setup-cli/ action scripts from github/gh-aw@v0.80.4, updating safe-outputs behavior, Copilot SDK session handling, and GitHub API interactions to match upstream.

Changes:

  • Stage safe-outputs assets under RUNNER_TEMP and improve asset upload handling when declared assets are missing.
  • Harden/clarify safe-outputs comment behavior for discussions (config gating + better permission-mismatch handling).
  • Improve robustness in log parsing (strip NUL bytes) and enable test redirection for Copilot SDK session state output.
Show a summary per file
File Description
setup/js/upload_assets.cjs Uses RUNNER_TEMP for asset staging; skips missing assets with warnings and fails when all declared assets are missing.
setup/js/safe_outputs_handlers.cjs Writes assets into RUNNER_TEMP and adds an early guard for discussion-only add_comment requests when discussions aren’t enabled.
setup/js/parse_mcp_gateway_log.cjs Strips NUL bytes from gateway.md to avoid garbled step summaries.
setup/js/copilot_sdk_session.cjs Adds sessionStateBaseDir/env override to redirect session-state writes (useful for tests).
setup/js/assign_agent_helpers.cjs Updates GraphQL queries and expands fallback assignment mutation to include agent-assignment parameters.
setup/js/add_comment.cjs Detects “resource not accessible by integration” for discussion comment attempts and skips with actionable guidance.
setup-cli/install.sh Updates sync note to clarify canonical script source.

Copilot's findings

Tip

Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

  • Files reviewed: 7/7 changed files
  • Comments generated: 1

Comment on lines +167 to +170
if (uploadCount === 0 && missingAssetCount > 0 && missingAssetCount === uploadItems.length) {
core.setFailed(`All ${missingAssetCount} declared assets were missing; no assets published.`);
return;
}
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