-
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
62
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
Changes from all commits
Commits
Show all changes
62 commits
Select commit
Hold shift + click to select a range
4f956e6
fix: add reaction to issue comments in migrator workflow
germa89 a35a2be
feat: add workflow_dispatch input for issue number in migrator workflow
germa89 70ee48a
refactor: simplify PR checkout process in migrator workflow
germa89 3afcf2d
fix: add missing environment variable for GH_TOKEN in migrator workflow
germa89 059f03f
feat: add checkout step for PR branch and push to new remote in migra…
germa89 fde8d26
fix: comment out remote addition and push steps in migrator workflow
germa89 98cb949
feat: add logging for base ref in migrator workflow
germa89 0bf47f5
feat: add detailed logging for PR information in migrator workflow
germa89 639db31
refactor: enhance logging for PR data and update checkout reference i…
germa89 9c8e0b4
refactor: clean up logging in migrator workflow by removing unnecessa…
germa89 a3de3a4
fix: update logging to output GitHub event as JSON in migrator workflow
germa89 1f507ce
feat: add checkout step for PR branch in migrator workflow
germa89 1f28c74
fix: add GITHUB_TOKEN environment variable for branch checkout in mig…
germa89 6bf7f25
fix: update checkout step to use 'git status' instead of commented-ou…
germa89 4f9edc6
refactor: streamline PR migration workflow by removing unused steps a…
germa89 85ce0c7
refactor: rename job from 'recreate' to 'migrate' and enhance PR hand…
germa89 4bba7e8
fix: update branch name variable in remote check and push logic
germa89 306375a
fix: streamline remote branch handling by moving remote name export a…
germa89 e141039
refactor: enhance PR handling by improving branch existence checks an…
germa89 58e8448
fix: remove unnecessary environment variable export and improve PR ex…
germa89 319a5a0
fix: improve formatting of branch existence messages in PR handling
germa89 e871f0a
fix: update PR creation command to use single quotes for title
germa89 8d34d7d
fix: update PR creation command to use double quotes for title and im…
germa89 bc49a08
fix: improve PR creation command by enhancing title and body formatting
germa89 94278e3
fix: update PR title formatting to use single quotes
germa89 3e936b1
fix: update PR creation to use body file for improved formatting
germa89 a8fea79
fix: enhance user output in workflow dispatch and issue comment events
germa89 0390f07
fix: update GITHUB_TOKEN to use PYANSYS_CI_BOT_TOKEN for branch check…
germa89 9b4052a
fix: enhance migrator workflow to support sync command and improve br…
germa89 b9db5c7
fix: add checkout step before configuration in migrator workflow
germa89 4b031ab
fix: remove conditional check for is_sync in Migrate PR step
germa89 1254a38
fix: update branch sync messaging in migrator workflow
germa89 6e32c36
fix: add debug output for remote configuration in migrate PR step
germa89 c176cd2
fix: add debug output for PR source and GitHub context in migrator wo…
germa89 752ecfd
fix: update migrator workflow to enhance PR handling and data parsing
germa89 a947da0
fix: update PR data extraction to use jq for head repo information
germa89 d6e9fa9
fix: refactor configuration step to streamline output handling and im…
germa89 1e1adce
fix: enhance migrator workflow to determine PR number and parse PR da…
germa89 8ad5077
fix: comment out deprecated migration steps in workflow
germa89 4fe27a5
fix: update PR data extraction to correctly set PR number and branch/…
germa89 123228d
fix: correct PR number extraction in workflow for issue comments
germa89 8f91d9d
fix: update PR data extraction to use fromJson for branch and repo de…
germa89 7db12ee
fix: update PR data extraction to correctly reference head branch and…
germa89 c749bf6
fix: enhance migration workflow to correctly checkout and push branch…
germa89 f7c861b
fix: update migration workflow to correctly create PRs and handle com…
germa89 c884a1b
fix: update user triggering information in workflow for better contex…
germa89 a6dc8cd
fix: correct user triggering information assignment in workflow
germa89 24d9c72
fix: update base branch naming convention in migration workflow
germa89 01797d4
fix: rename variable for clarity in PR number retrieval
germa89 d8142cb
fix: remove unused input parameter and update base branch naming in m…
germa89 c2290a9
fix: update reaction to comment from "rocket" to "+1" and add confirm…
germa89 433ae02
fix: enable pull rebase and update PR creation confirmation message
germa89 ef4ea67
fix: add merge step before pushing changes in migrator workflow
germa89 a481183
fix: clean up whitespace and remove commented-out migration steps in …
germa89 a3afd2d
chore: merge remote-tracking branch 'origin/main' into fix/migrator-w…
germa89 2e7eb76
chore: adding changelog file 3878.maintenance.md [dependabot-skip]
pyansys-ci-bot f274517
fix: streamline git commands in migrator workflow by removing error h…
germa89 0036aec
Merge branch 'fix/migrator-workflow-2' of https://github.com/ansys/py…
germa89 ee5f300
chore: merge remote-tracking branch 'origin/main' into fix/migrator-w…
germa89 8412f3a
fix: enhance migrator workflow to run based on user belonging to a team
germa89 03bfc29
fix: enhance merge conflict handling in migrator workflow
germa89 dd54c04
Merge branch 'main' into fix/migrator-workflow-2
germa89 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
ci: implementing migrator workflow |
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
suggestion (bug_risk): Review automatic conflict resolution strategy.
Confirm that automatically using 'git checkout --theirs' won’t discard crucial PR changes.
Suggested implementation:
Ensure that the environment variable AUTO_RESOLVE is defined in your workflow configuration or the environment. This change guarantees that using the "theirs" strategy does not inadvertently discard crucial PR changes without explicit confirmation.