diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 28418e21088..b39674fb371 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -49,6 +49,7 @@ jobs: - uses: actions/checkout@v4 with: fetch-depth: 0 # everything + ref: ${{ github.event.pull_request.head.sha }} - name: Set up Go uses: actions/setup-go@v5 with: