Skip to content

Commit 36116be

Browse files
committed
Have check_commit run against base branch
1 parent 8d9eb96 commit 36116be

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -215,9 +215,9 @@ jobs:
215215
git fetch upstream
216216
export GIT_COMMITTER_EMAIL="[email protected]"
217217
export GIT_COMMITTER_NAME="RL CI"
218-
git rebase upstream/main
218+
git rebase upstream/${{ github.base_ref }}
219219
- name: For each commit, run cargo check (including in fuzz)
220-
run: ci/check-each-commit.sh upstream/main
220+
run: ci/check-each-commit.sh upstream/${{ github.base_ref }}
221221

222222
check_release:
223223
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)