Skip to content

chore: sync actions from gh-aw@v0.75.2#114

Merged
pelikhan merged 1 commit into
mainfrom
sync/gh-aw-v0.75.2
May 23, 2026
Merged

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

Conversation

@github-actions
Copy link
Copy Markdown
Contributor

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

@pelikhan pelikhan marked this pull request as ready for review May 23, 2026 04:50
Copilot AI review requested due to automatic review settings May 23, 2026 04:50
@pelikhan pelikhan merged commit 3dc8235 into main May 23, 2026
3 checks passed
@pelikhan pelikhan deleted the sync/gh-aw-v0.75.2 branch May 23, 2026 04:51
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Automated sync from github/gh-aw@v0.75.2 that tightens validation around safe-output PR branch/base branch resolution and improves incremental patch size measurement accuracy when the default branch has been merged into the PR branch.

Changes:

  • Reject safe-output requests when the resolved PR branch still equals the resolved base branch after branch auto-detection (for both create_pull_request and push_to_pull_request_branch).
  • Adjust incremental diffSize calculation to use an appropriate merge-base when upstream default-branch commits were merged into the PR branch, avoiding inflated size measurements.
Show a summary per file
File Description
setup/js/safe_outputs_handlers.cjs Adds explicit error returns when branch === base_branch persists after auto-detection to prevent downstream git failures.
setup/js/generate_git_patch.cjs Refines incremental diff size computation to avoid counting already-upstream default-branch changes when the agent merged the default branch into the PR branch.

Copilot's findings

Tip

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

  • Files reviewed: 2/2 changed files
  • Comments generated: 0

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