diff --git a/.github/workflows/test-browser.yml b/.github/workflows/test-browser.yml index 5072cf738..28801a25a 100644 --- a/.github/workflows/test-browser.yml +++ b/.github/workflows/test-browser.yml @@ -21,7 +21,7 @@ jobs: with: repository: "comfyanonymous/ComfyUI" path: "ComfyUI" - ref: ${{ github.head_ref }} + ref: ${{ github.event.pull_request.head.ref || github.ref }} - name: Checkout ComfyUI_frontend uses: actions/checkout@v4 with: