diff --git a/.github/workflows/kotlin_ci.yml b/.github/workflows/kotlin_ci.yml index 0e52b2bc..c56dc451 100644 --- a/.github/workflows/kotlin_ci.yml +++ b/.github/workflows/kotlin_ci.yml @@ -18,6 +18,7 @@ jobs: - name: Fetch all branches run: git fetch origin - name: Merge head branch into main + if: github.event_name == 'pull_request' run: git merge origin/${{ github.event.pull_request.head.ref }} - name: set up JDK 17 uses: actions/setup-java@v3