From f77aa80107129bfa6e2a7c02f26d8db468a9b0c7 Mon Sep 17 00:00:00 2001 From: Marcos Candeia Date: Fri, 6 Sep 2024 11:12:27 -0300 Subject: [PATCH] Use base repo instead of current on pr target Signed-off-by: Marcos Candeia --- .github/workflows/releaser.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/releaser.yaml b/.github/workflows/releaser.yaml index 73f60cffc..5584f177e 100644 --- a/.github/workflows/releaser.yaml +++ b/.github/workflows/releaser.yaml @@ -21,8 +21,8 @@ jobs: - name: Checkout Code uses: actions/checkout@v3 with: - ref: ${{ github.event.pull_request.head.ref }} - repository: ${{ github.event.pull_request.head.repo.full_name }} + ref: ${{ github.event.pull_request.base.ref }} # Checkout the base branch (target repository) + repository: ${{ github.event.pull_request.base.repo.full_name }} # Checkout from the target repo - name: Calculate new versions id: calculate_versions