-
Notifications
You must be signed in to change notification settings - Fork 139
Commit cce7ad1
ci: implementing migrator workflow (#3878)
* fix: add reaction to issue comments in migrator workflow
* feat: add workflow_dispatch input for issue number in migrator workflow
* refactor: simplify PR checkout process in migrator workflow
* fix: add missing environment variable for GH_TOKEN in migrator workflow
* feat: add checkout step for PR branch and push to new remote in migrator workflow
* fix: comment out remote addition and push steps in migrator workflow
* feat: add logging for base ref in migrator workflow
* feat: add detailed logging for PR information in migrator workflow
* refactor: enhance logging for PR data and update checkout reference in migrator workflow
* refactor: clean up logging in migrator workflow by removing unnecessary lines
* fix: update logging to output GitHub event as JSON in migrator workflow
* feat: add checkout step for PR branch in migrator workflow
* fix: add GITHUB_TOKEN environment variable for branch checkout in migrator workflow
* fix: update checkout step to use 'git status' instead of commented-out commands
* refactor: streamline PR migration workflow by removing unused steps and enhancing checkout process
* refactor: rename job from 'recreate' to 'migrate' and enhance PR handling with improved branch checks and comments
* fix: update branch name variable in remote check and push logic
* fix: streamline remote branch handling by moving remote name export and adding existence check for new branch
* refactor: enhance PR handling by improving branch existence checks and updating comment structure
* fix: remove unnecessary environment variable export and improve PR existence message formatting
* fix: improve formatting of branch existence messages in PR handling
* fix: update PR creation command to use single quotes for title
* fix: update PR creation command to use double quotes for title and improve body formatting
* fix: improve PR creation command by enhancing title and body formatting
* fix: update PR title formatting to use single quotes
* fix: update PR creation to use body file for improved formatting
* fix: enhance user output in workflow dispatch and issue comment events
* fix: update GITHUB_TOKEN to use PYANSYS_CI_BOT_TOKEN for branch checkout and cloning
* fix: enhance migrator workflow to support sync command and improve branch handling
* fix: add checkout step before configuration in migrator workflow
* fix: remove conditional check for is_sync in Migrate PR step
* fix: update branch sync messaging in migrator workflow
* fix: add debug output for remote configuration in migrate PR step
* fix: add debug output for PR source and GitHub context in migrator workflow
* fix: update migrator workflow to enhance PR handling and data parsing
* fix: update PR data extraction to use jq for head repo information
* fix: refactor configuration step to streamline output handling and improve clarity
* fix: enhance migrator workflow to determine PR number and parse PR data correctly
* fix: comment out deprecated migration steps in workflow
* fix: update PR data extraction to correctly set PR number and branch/repo details
* fix: correct PR number extraction in workflow for issue comments
* fix: update PR data extraction to use fromJson for branch and repo details
* fix: update PR data extraction to correctly reference head branch and repo details
* fix: enhance migration workflow to correctly checkout and push branches with improved error handling
* fix: update migration workflow to correctly create PRs and handle comments with improved messaging
* fix: update user triggering information in workflow for better context in PR creation
* fix: correct user triggering information assignment in workflow
* fix: update base branch naming convention in migration workflow
* fix: rename variable for clarity in PR number retrieval
* fix: remove unused input parameter and update base branch naming in migrator workflow
* fix: update reaction to comment from "rocket" to "+1" and add confirmation step
* fix: enable pull rebase and update PR creation confirmation message
* fix: add merge step before pushing changes in migrator workflow
* fix: clean up whitespace and remove commented-out migration steps in migrator workflow
* chore: adding changelog file 3878.maintenance.md [dependabot-skip]
* fix: streamline git commands in migrator workflow by removing error handling
* fix: enhance migrator workflow to run based on user belonging to a team
* fix: enhance merge conflict handling in migrator workflow
* fix: add migration modes to workflow and enhance conflict resolution logic
* fix: update conflict resolution command syntax in migrator workflow
* fix: rename environment variable for clarity in migrator workflow
* fix: update migrator workflow to remove mode input and use comment body for operation
* fix: update migrator workflow to enhance clarity and functionality
* fix: update base branch naming convention in migrator workflow
* fix: specify branch reference for repo checkout in migrator workflow
* fix: enhance git configuration and conflict resolution logging in migrator workflow
* fix: update migrator workflow documentation and adjust base branch naming convention
* feat: add Fork PR Handler GitHub Action for migrating pull requests from forks
* fix: add GitHub token input to pytest summary action and update CI workflow
* fix: move user team membership check to the correct position in the workflow
* fix: update user team membership check to use correct action and parameters
* fix: refactor user team membership checks to use environment variables
* fix: use octokit action for negatively reaction
* fix: add negative comment for non-team members and refine conditional checks
* fix: streamline reactions and comments for team member checks in PR migration workflow. Using octokit action
* fix: update comment creation step to use octokit action for error handling in migration
* refactor: rename file to allow manual dispatch
* fix: update API route format and enhance comment messages with emojis for better clarity
* fix: simplify error message format in migration workflow
* fix: update team membership check to use GitHub script action and enhance error message format
* fix: update username in team membership check to reflect another user
* revert: "fix: update username in team membership check to reflect another user"
This reverts commit 4929d59.
* fix: enhance role check for team membership and improve migration completion/error messages formatting
* fix: enhance team membership check to determine user role and control migration flow
* fix: enhance user feedback for non-team members in PR migration process
* fix: streamline user feedback and permissions checks in PR migration workflow by using github-script action
* fix: add comment ID input to workflow and streamline variable setup using github-script
* fix: update variable interpolation for GitHub Actions to ensure proper context usage
* fix: update GitHub token for GitHub Actions to use PYANSYS_CI_BOT_TOKEN
* feat: improving failure notification
* fix: improve event handling and logging in PR migration workflow
* fix: remove previous reaction before adding a new one in PR comment handling
* fix: update actor input handling in Fork PR Handler workflow
* fix: update reaction handling to use listForIssueComment in migrator workflow
* fix: add error handling for fetching team membership in Fork PR Handler workflow
* fix: add validation and user notification for PR migration attempts on existing main repository PRs
* fix: streamline team membership check and improve error handling in Fork PR Handler workflow
* fix: update GitHub token
* fix: update notification message for existing PR migration attempts
* fix: add recreate option to PR migration workflow for handling existing PRs
* fix: remove recreate input from workflow and update comment body checks
* revert: "fix: remove recreate input from workflow and update comment body checks"
This reverts commit f5f8485.
* revert: "fix: add recreate option to PR migration workflow for handling existing PRs"
This reverts commit 6a313ed.
* fix: update debug logging and correct branch reference for existing PRs
* fix: correct PR migration base branch to 'main' and update head branch reference
* fix: update PR title format and change debug log to info for new PR creation
* fix: update base branch naming convention in PR migration workflow
* fix: update base branch naming convention in PR creation and log new PR details
* fix: enhance reaction handling by deleting previous reactions before replying to comments
* fix: add comment ID handling for reaction deletion in PR migration workflow
* fix: update base branch naming convention in PR migration workflow to migration4
* fix: update base branch naming convention from migration4 to migration5 in PR handler
* chore: revert temp changes on naming
---------
Co-authored-by: pyansys-ci-bot <92810346+pyansys-ci-bot@users.noreply.github.com>1 parent e18a6ea commit cce7ad1Copy full SHA for cce7ad1
File tree
Expand file treeCollapse file tree
4 files changed
+414
-44
lines changedFilter options
- .github
- actions/pytest-summary
- workflows
- doc/changelog.d
Expand file treeCollapse file tree
4 files changed
+414
-44
lines changedCollapse file: .github/actions/pytest-summary/action.yml
.github/actions/pytest-summary/action.yml
Copy file name to clipboardExpand all lines: .github/actions/pytest-summary/action.yml+9-1Lines changed: 9 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
12 | 12 |
| |
13 | 13 |
| |
14 | 14 |
| |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
15 | 21 |
| |
16 | 22 |
| |
17 | 23 |
| |
| |||
32 | 38 |
| |
33 | 39 |
| |
34 | 40 |
| |
| 41 | + | |
35 | 42 |
| |
36 | 43 |
| |
37 | 44 |
| |
| |||
80 | 87 |
| |
81 | 88 |
| |
82 | 89 |
| |
83 |
| - | |
| 90 | + | |
| 91 | + |
Collapse file: .github/workflows/ci.yml
+1Lines changed: 1 addition & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
419 | 419 |
| |
420 | 420 |
| |
421 | 421 |
| |
| 422 | + |
0 commit comments