-
Notifications
You must be signed in to change notification settings - Fork 66
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1947 from NVIDIA/branch-24.04-to-main
Merge branch-24.04 into main [skip ci]
- Loading branch information
Showing
67 changed files
with
8,259 additions
and
221 deletions.
There are no files selected for viewing
This file contains 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 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 |
---|---|---|
|
@@ -18,20 +18,20 @@ name: auto-merge HEAD to BASE | |
on: | ||
pull_request_target: | ||
branches: | ||
- branch-24.02 | ||
- branch-24.04 | ||
types: [closed] | ||
|
||
env: | ||
HEAD: branch-24.02 | ||
BASE: branch-24.04 | ||
HEAD: branch-24.04 | ||
BASE: branch-24.06 | ||
|
||
jobs: | ||
auto-merge: | ||
if: github.event.pull_request.merged == true | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/checkout@v4 | ||
with: | ||
ref: ${{ env.HEAD }} # force to fetch from latest upstream instead of PR ref | ||
token: ${{ secrets.AUTOMERGE_TOKEN }} # workaround auto-merge token to avoid GITHUB_TOKEN insufficient permission | ||
|
@@ -42,13 +42,17 @@ jobs: | |
git config user.email "[email protected] " | ||
git fetch origin ${HEAD} ${BASE} | ||
git checkout -b ${INTERMEDIATE_HEAD} origin/${HEAD} | ||
OUT=$(git --no-pager diff --name-only origin/${BASE} | grep "${FILE_USE_BASE}" || true) | ||
[[ ! -z "${OUT}" ]] && git checkout origin/${BASE} -- ${FILE_USE_BASE} && \ | ||
git commit -s -am "Auto-merge use submodule in BASE ref" | ||
# Sync the $BASE branch with the commits from the $HEAD branch, | ||
# excluding the paths defined as $FILE_USE_BASE (located under ./thirdparty). | ||
git checkout origin/${BASE} -- ${FILE_USE_BASE} | ||
# If any submodule file is updated in the HEAD branch, | ||
# always change it to the corresponding one from the BASE branch. | ||
[ ! -z "$(git status --porcelain=v1 --untracked=no)" ] && \ | ||
git commit -s -am "Auto-merge use ${BASE} versions" | ||
git push origin ${INTERMEDIATE_HEAD} -f | ||
env: | ||
INTERMEDIATE_HEAD: bot-auto-merge-${{ env.HEAD }} | ||
FILE_USE_BASE: thirdparty/cudf | ||
FILE_USE_BASE: thirdparty/cudf thirdparty/cudf-pins | ||
|
||
- name: auto-merge job | ||
uses: ./.github/workflows/action-helper | ||
|
This file contains 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 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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
# Copyright (c) 2023, NVIDIA CORPORATION. | ||
# Copyright (c) 2023-2024, NVIDIA CORPORATION. | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
|
@@ -26,7 +26,7 @@ jobs: | |
- uses: actions/checkout@v4 | ||
with: | ||
submodules: true | ||
- uses: actions/setup-python@v4 | ||
- uses: actions/setup-python@v5 | ||
with: | ||
python-version: "3.10" | ||
- uses: pre-commit/[email protected] | ||
|
This file contains 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 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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
[submodule "thirdparty/cudf"] | ||
path = thirdparty/cudf | ||
url = https://github.com/rapidsai/cudf.git | ||
branch = branch-24.02 | ||
branch = branch-24.04 |
This file contains 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 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 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 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 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 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
Oops, something went wrong.