From f7ba1dddfaeb51f2d8261b87da62748bf4bf776c Mon Sep 17 00:00:00 2001 From: Hongbo Wu Date: Fri, 10 Feb 2023 15:26:10 +0800 Subject: [PATCH] Add pr event --- .github/workflows/run-distiller.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/run-distiller.yml b/.github/workflows/run-distiller.yml index 3a78bf1f2..f329efc8e 100644 --- a/.github/workflows/run-distiller.yml +++ b/.github/workflows/run-distiller.yml @@ -16,7 +16,8 @@ jobs: - name: Checkout uses: actions/checkout@v3 with: - ref: ${{ github.head_ref }} + repository: ${{ github.event.pull_request.head.repo.full_name }} + ref: ${{ github.event.pull_request.head.ref }} - name: Setup Go uses: actions/setup-go@v3 with: