fix: migrator secret escaping - #4012
Merged
Merged
Conversation
Contributor
Reviewer's GuideThis PR refines the GitHub Actions migrator workflow by properly escaping the CI token secret, updating the mirrored PR title format, and preventing duplicate failure comments on retries. Flow diagram for updated migrator workflow steps in GitHub Actionsflowchart TD
A[Start Migration Job] --> B[Use github-script with properly escaped secret token]
B --> C[Create mirrored PR with updated title format]
C --> D{Migration Success?}
D -- Yes --> E[End]
D -- No --> F{Is this the first run attempt?}
F -- Yes --> G[Create failure comment]
F -- No --> H[Skip failure comment]
G --> E
H --> E
File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
Contributor
|
Thanks for opening a Pull Request. If you want to perform a review write a comment saying: @ansys-reviewer-bot review |
Collaborator
Author
|
@pyansys-ci-bot LGTM. |
germa89
enabled auto-merge (squash)
June 16, 2025 15:12
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Description
Fix migrator secret escaping, PR title and not commenting when re-running
Issue linked
Related to failure to migrate #4009 however I am not sure this should fix it.
Checklist
draftif it is not ready to be reviewed yet.feat: adding new MAPDL command)Summary by Sourcery
Fix secret escaping in the migrator workflow, standardize the migrated PR title format, and limit failure comments to the first run attempt.
CI: