-
Notifications
You must be signed in to change notification settings - Fork 4
Update automerge workflow to support file_use_base and new branching pattern #40
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
Conversation
…pattern Signed-off-by: Peixin Li <[email protected]>
Co-authored-by: Copilot <[email protected]>
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.
Pull Request Overview
This PR updates the automerge workflow to incorporate a file_use_base option and support a new branching pattern while migrating the JNI auto‐merge strategy and deprecating the old auto-merge action.
- Introduces file_use_base support in the GitHub workflow.
- Updates branching logic to support release/X.Y to main merging.
- Migrates JNI auto-merge functionality and deprecates previous auto-merge steps.
Reviewed Changes
Copilot reviewed 6 out of 6 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| action-helper/python/utils.py | Adds PullRequest and helper functions for automerge. |
| action-helper/python/auto-merge | Implements the python entrypoint for auto-merge. |
| action-helper/entrypoint.sh | Shell entrypoint for the action helper. |
| action-helper/action.yml | Defines the action metadata and inputs. |
| action-helper/Dockerfile | Sets up the docker image for running the action helper. |
| .github/workflows/auto-merge.yml | Configures the workflow with new branching and file_use_base features. |
Comments suppressed due to low confidence (1)
.github/workflows/auto-merge.yml:109
- [nitpick] The error message uses
$BASE directly, which might be unclear. Consider using an explicit reference (e.g. $ {env.BASE}) or clarifying the variable name for better readability.
echo "Failed to find $BASE. Skip auto-merge..."
follow-up of NVIDIA/spark-rapids-common#40, target 25.06 to have some sanity check after merge as workflow update only 1. Migrated automerge strategy to the share action in the common repo 2. Removed deprecated script in JNI repo This has been verified in forked repo, I will do post verification after merge and revert this change is any issue Signed-off-by: Peixin Li <[email protected]>
fix #6 and #36
Cases:

Plugin branch-25.06 to branch-25.08: https://github.com/pxLi/spark-rapids/actions/runs/15671686947/job/44143832505
Plugin skipped auto-merge due to vX.Y.0 tag exists: https://github.com/pxLi/spark-rapids/actions/runs/15671714990/job/44144626269

JNI branch-25.06 to branch-25.08: https://github.com/pxLi/spark-rapids-jni/actions/runs/15673010021/job/44147327479

JNI release/25.08 to main: https://github.com/pxLi/spark-rapids-jni/actions/runs/15673971509/job/44150070792
