Skip to content

Commit 5d4afca

Browse files
committed
Do not use github.sha for retrieving raw github content for PR based workflows
1 parent 371e9c0 commit 5d4afca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/ci-coverage-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
picknik_reset_fault_controller
3030

3131
vcs-repo-file-url: |
32-
https://raw.githubusercontent.com/${{ github.repository }}/${{ github.sha }}/picknik_controllers-not-released.${{ env.ROS_DISTRO }}.repos?token=${{ secrets.GITHUB_TOKEN }}
32+
https://raw.githubusercontent.com/${{ github.repository }}/${{ github.event.pull_request.head.sha }}/picknik_controllers-not-released.${{ env.ROS_DISTRO }}.repos?token=${{ secrets.GITHUB_TOKEN }}
3333
colcon-defaults: |
3434
{
3535
"build": {

0 commit comments

Comments
 (0)