-
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 branch 'branch-24.04' into main
- Loading branch information
Showing
10 changed files
with
1,351 additions
and
1,335 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|
Oops, something went wrong.