diff --git a/.github/workflows/pr-main.yml b/.github/workflows/pr-main.yml index 7f1ec68..7a31e23 100644 --- a/.github/workflows/pr-main.yml +++ b/.github/workflows/pr-main.yml @@ -39,7 +39,8 @@ jobs: - name: Merge PR branch into main if: ${{ github.event_name == 'pull_request'}} run: | - git merge main + git switch main + git merge ${{ github.event.pull_request.head.ref }} - name: Set up Rust uses: actions-rust-lang/setup-rust-toolchain@v1