Skip to content

Update TypeSpec Python regenerate workflow sync#47843

Merged
msyyc merged 2 commits into
mainfrom
copilot/typespec-python-regenerate-main-sync
Jul 6, 2026
Merged

Update TypeSpec Python regenerate workflow sync#47843
msyyc merged 2 commits into
mainfrom
copilot/typespec-python-regenerate-main-sync

Conversation

@msyyc

@msyyc msyyc commented Jul 6, 2026

Copy link
Copy Markdown
Member

Sync main-based regeneration runs with origin/main before copying generated tests.

Also centralizes the workflow git author configuration.

Copilot AI review requested due to automatic review settings July 6, 2026 02:05
@msyyc msyyc requested review from a team, ChenxiJiang333, iscai-msft and tadelesh as code owners July 6, 2026 02:05

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

This PR updates the typespec-python-regenerate GitHub Actions workflow to better align main-based regeneration runs with the latest origin/main state before copying regenerated tests, and to centralize git author configuration for commits made by the workflow.

Changes:

  • Adds a single “Configure git author” step to set the commit author consistently for all subsequent git operations.
  • For non-PR runs, merges origin/main into the regeneration source branch before copying regenerated tests.

Comment thread .github/workflows/typespec-python-regenerate.yml

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

Copilot reviewed 1 out of 1 changed files in this pull request and generated no new comments.

@msyyc msyyc merged commit 66bcb9c into main Jul 6, 2026
21 checks passed
@msyyc msyyc deleted the copilot/typespec-python-regenerate-main-sync branch July 6, 2026 04:52
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.

3 participants