Skip to content

Conversation

@pxLi
Copy link
Member

@pxLi pxLi commented Jun 16, 2025

fix #6 and #36

  1. Migrate JNI auto-merge strategy here
  2. Support new branching model release/X.Y to main
  3. Detect tag to early skip auto-merge steps (This has been applied to both branch-* and release/*)
  4. The old auto-merge action will be deprecated soon

Cases:
Plugin branch-25.06 to branch-25.08: https://github.com/pxLi/spark-rapids/actions/runs/15671686947/job/44143832505
image

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

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

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

Copilot AI review requested due to automatic review settings June 16, 2025 07:11
@pxLi pxLi requested a review from a team as a code owner June 16, 2025 07:11

This comment was marked as outdated.

@pxLi pxLi self-assigned this Jun 16, 2025
@pxLi pxLi requested a review from Copilot June 16, 2025 07:15

This comment was marked as outdated.

@pxLi pxLi requested a review from Copilot June 16, 2025 07:16
Copy link
Contributor

Copilot AI left a 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..."

@pxLi pxLi merged commit 89132bf into NVIDIA:main Jun 17, 2025
4 checks passed
pxLi added a commit to NVIDIA/spark-rapids-jni that referenced this pull request Jun 17, 2025
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]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Create auto-merge reusable pipeline for spark-rapids-* repos

2 participants