From f346eb01a11ada42ecee9a95d4e647a9fe6c7b1b Mon Sep 17 00:00:00 2001 From: Iisakki Rotko Date: Wed, 27 Mar 2024 11:37:33 +0100 Subject: [PATCH] ci: fix `update-ci-package-locks` for PRs opened from a fork (#574) --- .github/workflows/test.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index b61667dd0..5fc342e7d 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -451,7 +451,9 @@ jobs: steps: - uses: actions/checkout@v4 with: + fetch-depth: 0 ref: ${{ github.head_ref || github.ref }} + repository: ${{ github.event.pull_request.head.repo.full_name || github.event.repository.full_name }} - name: Prepare id: prepare