Skip to content

Commit 21052c3

Browse files
committed
Clone base ref instead of current
Signed-off-by: Marcos Candeia <marrcooos@gmail.com>
1 parent 7fdd44f commit 21052c3

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/releaser.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ jobs:
2121
- name: Checkout Code
2222
uses: actions/checkout@v3
2323
with:
24-
ref: ${{ github.event.pull_request.head.ref }}
25-
repository: ${{ github.event.pull_request.head.repo.full_name }}
24+
ref: ${{ github.event.pull_request.base.ref }} # Checkout the base branch (target repository)
25+
repository: ${{ github.event.pull_request.base.repo.full_name }} # Checkout from the target repo
2626

2727
- name: Calculate new versions
2828
id: calculate_versions

0 commit comments

Comments
 (0)