Skip to content

feat: hk-migrate-fork-pr action#1168

Draft
moe-ad wants to merge 11 commits intomainfrom
feat/hk-forked-pr-migrator
Draft

feat: hk-migrate-fork-pr action#1168
moe-ad wants to merge 11 commits intomainfrom
feat/hk-forked-pr-migrator

Conversation

@moe-ad
Copy link
Contributor

@moe-ad moe-ad commented Feb 20, 2026

@germa89 pinging you just to make you aware work on this has started. I will ping you again once I am done with the implementation or if I get stuck.

Summary of tasks completed

  • Nothing much to say about the implementation, @germa89's work already provided the template.
  • Just so we can avoid JS in ansys/actions, I have opted to use gh-cli instead of actions/github-script.
  • Examples added to the documentation.
  • Permissions required to run the action documented.

Closes #867.

@moe-ad moe-ad self-assigned this Feb 20, 2026
@github-actions github-actions bot added enhancement General improvements to existing features docs Issues related to documentation labels Feb 20, 2026
@germa89
Copy link
Contributor

germa89 commented Feb 27, 2026

Go for it :)

@moe-ad moe-ad marked this pull request as ready for review March 13, 2026 16:49
@moe-ad moe-ad requested a review from a team as a code owner March 13, 2026 16:49
@moe-ad moe-ad marked this pull request as draft March 13, 2026 17:06
@moe-ad moe-ad marked this pull request as ready for review March 13, 2026 17:19
@moe-ad
Copy link
Contributor Author

moe-ad commented Mar 13, 2026

@germa89 @RobPasMue @SMoraisAnsys
I have tested some of the gh cli scripts in a hacky way locally, but to test end to end, this needs to be on the main branch.
If anything isn't looking good, I can iterate in subsequent PRs.

Edit: @RobPasMue synced with me offline and we will test this from another repo. No need for this to be merged before testing.

@moe-ad
Copy link
Contributor Author

moe-ad commented Mar 16, 2026

Tests.

List of TODOs:

  • The comment added by the bot needs to make it explicit that the PR author is unable to push to the migrated PR branch but they can keep pushing to their fork.
  • The git logic for committing changes in the case of auto/theirs/ours needs to be corrected.

@moe-ad moe-ad marked this pull request as draft March 16, 2026 16:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Issues related to documentation enhancement General improvements to existing features

Projects

None yet

Development

Successfully merging this pull request may close these issues.

PR migrator workflow

3 participants