Skip to content

Commit c78f784

Browse files
committed
Fix vendoring PRs for stable branches
Nightly import of DuckDB engine sources ("vendoring") is performed by creating PRs on `vendoring-<branch>` base branches. After the tests are passed the PR is merged and `vendoring-<branch>` is re-created to be used in subsequent imports. This change fixes the vendoring branch re-creation to place it not always on the `main` branch, but on the correct branch (either `main` or stable one line `v1.3-ossivalis`).
1 parent 0c827aa commit c78f784

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/Java.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -489,7 +489,7 @@ jobs:
489489
run: |
490490
# Delete vendoring-${{ github.base_ref }} branch and re-create it for future PRs
491491
git push --delete origin vendoring-${{ github.base_ref }}
492-
git checkout --track origin/main
492+
git checkout --track origin/${{ github.base_ref }}
493493
git pull --ff-only
494494
git branch vendoring-${{ github.base_ref }}
495495
git push origin vendoring-${{ github.base_ref }}

0 commit comments

Comments
 (0)