Skip to content

Commit 7be81df

Browse files
authored
Use appropriate repository in Release.yaml
1 parent 9cf4c30 commit 7be81df

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/Release.yaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ jobs:
4343
uses: actions/checkout@v4
4444
with:
4545
ref: master
46+
repository: ${{ github.event.pull_request.base.repo.full_name }}
4647
fetch-depth: 0
4748
fetch-tags: true
4849

@@ -52,7 +53,7 @@ jobs:
5253
git config --global user.email "[email protected]"
5354
git config --global --add safe.directory /__w/scenario_simulator_v2/scenario_simulator_v2
5455
git config pull.rebase false
55-
56+
5657
- name: Setup git credential
5758
if: github.event.pull_request.merged == true
5859
run: git config --global credential.helper ${{ secrets.BLOOM_GITHUB_TOKEN }}
@@ -62,8 +63,8 @@ jobs:
6263
run: |
6364
echo "old_version=$(catkin_package_version)" >> $GITHUB_OUTPUT
6465
65-
- name: Merge branch
66-
run: git pull origin ${{ github.head_ref }}
66+
- name: Pull head branch
67+
run: git pull ${{ github.event.pull_request.head.repo.clone_url }} ${{ github.head_ref }}
6768

6869
- name: Bump patch version
6970
if: (contains(github.event.pull_request.labels.*.name, 'bump patch'))

0 commit comments

Comments
 (0)