Skip to content

Commit

Permalink
fix: use correct Source-Link URL format (googleapis#5239)
Browse files Browse the repository at this point in the history
  • Loading branch information
chingor13 committed Sep 27, 2023
1 parent 5941217 commit 57622d6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ exports['common utils tests opens a PR against the default branch 1'] = {
head: 'specialName',
base: 'main',
title: 'feat: add initial files for google.cloud.kms.v1',
body: 'Source-Link: https://googleapis/googleapis-gen@6dcb09b5b57875f334f61aebed695e2e4193db5e\nCopy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWttcy8uZ2l0aHViLy5Pd2xCb3QueWFtbCIsImgiOiI2ZGNiMDliNWI1Nzg3NWYzMzRmNjFhZWJlZDY5NWUyZTQxOTNkYjVlIn0=',
body: 'Source-Link: https://github.com/googleapis/googleapis-gen/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e\nCopy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWttcy8uZ2l0aHViLy5Pd2xCb3QueWFtbCIsImgiOiI2ZGNiMDliNWI1Nzg3NWYzMzRmNjFhZWJlZDY5NWUyZTQxOTNkYjVlIn0=',
};
2 changes: 1 addition & 1 deletion packages/owlbot-bootstrapper/common-container/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ export function getCopyTagText(latestSha: string, owlbotYamlPath: string) {
* @returns full PR text for the PR being created
*/
export async function getPRText(latestSha: string, copyTagText: string) {
return `Source-Link: https://googleapis/googleapis-gen@${latestSha}\n${copyTagText}`;
return `Source-Link: https://github.com/googleapis/googleapis-gen/commit/${latestSha}\n${copyTagText}`;
}

/**
Expand Down

0 comments on commit 57622d6

Please sign in to comment.