From 322d4bbfe302263efdf5dd19055fa012a5ba9502 Mon Sep 17 00:00:00 2001 From: David Zhao Date: Mon, 22 Jan 2024 18:03:36 -0800 Subject: [PATCH] handle PR ref --- .github/workflows/build-protocol.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/build-protocol.yml b/.github/workflows/build-protocol.yml index 8a883ed7..2e507bfc 100644 --- a/.github/workflows/build-protocol.yml +++ b/.github/workflows/build-protocol.yml @@ -31,6 +31,7 @@ jobs: - uses: actions/checkout@v3 with: submodules: true + ref: ${{ github.event.pull_request.head.ref }} - uses: actions/setup-python@v4