-
Notifications
You must be signed in to change notification settings - Fork 132
ci: implementing migrator workflow #3878
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
germa89
wants to merge
58
commits into
main
Choose a base branch
from
fix/migrator-workflow-2
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
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
…n migrator workflow
…nd enhancing checkout process
…ling with improved branch checks and comments
…nd adding existence check for new branch
…d updating comment structure
…istence message formatting
…prove body formatting
Thanks for opening a Pull Request. If you want to perform a review write a comment saying: @ansys-reviewer-bot review |
…es with improved error handling
…ments with improved messaging
…migrator workflow
I think this is more or less ready. The conflict in the changes is still not clear to me, so I would appreciate any suggestions on this. Pinging @RobPasMue since I discussed this topic with him and pinging @klmcadams because i would love her feedback on the conflict resolution. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
CI/CD
Related with CICD, Github Actions, etc
maintenance
General maintenance of the repo (libraries, cicd, etc)
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.
Summary
As the title.
This pull request introduces a new GitHub Actions workflow,
migrator.yml
, designed to handle pull requests originating from forks. The workflow ensures that secrets required for CI processes can be accessed by migrating the forked PR into a branch within the base repository.This pull request introduces a new GitHub Actions workflow, migrator.yml, to handle pull requests originating from forks. The workflow migrates forked PRs into branches within the base repository, enabling access to repository secrets for CI workflows.
Changes
New Workflow: Added migrator.yml to workflows.
Trigger Events:
@pyansys-ci-bot migrate
or@pyansys-ci-bot sync
on pull requests.workflow_dispatch
with an issue number input.Key Steps:
This workflow simplifies the process of handling forked pull requests, improving CI reliability and developer experience.
Example of fork PR: #3868
Example of migrated PR: #3886