Fix issues with winget PR body

This commit is contained in:
Jordan Dominion
2023-08-23 19:29:01 -04:00
parent 3798d840e8
commit 045d9feddf
@@ -779,8 +779,6 @@ This pull request was generated by our [deployment pipeline]({actionUrl}) as a r
The user account that created this pull request is available to correct any issues.
**_We would like to be verified as the publisher of this software but we cannot find documentation on how to do so._**
- [x] Have you signed the [Contributor License Agreement](https://cla.opensource.microsoft.com/microsoft/winget-pkgs)?
- [x] Have you checked that there aren't other open [pull requests](https://github.com/microsoft/winget-pkgs/pulls) for the same manifest update/change?
- This PR is generated as a direct result of a new release of `tgstation-server` this should be impossible
@@ -789,7 +787,9 @@ The user account that created this pull request is available to correct any issu
- Validation is performed as a prerequisite to deployment.
- [x] Have you tested your manifest locally with `winget install --manifest <path>`?
- Manifest installation and uninstallation is performed as a prerequisite to deployment.
- [x] Does your manifest conform to the [1.5 schema](https://github.com/microsoft/winget-pkgs/tree/master/doc/manifest/schema/1.5.0)?";
- [x] Does your manifest conform to the [1.5 schema](https://github.com/microsoft/winget-pkgs/tree/master/doc/manifest/schema/1.5.0)?
###### Microsoft Reviewers: [Open in CodeFlow](https://microsoft.github.io/open-pr/?codeflow=https://github.com/microsoft/winget-pkgs/pull/$PR_NUMBER_SUBST$)";
if (expectedTemplateSha != null)
{
@@ -825,7 +825,7 @@ The user account that created this pull request is available to correct any issu
await client.Issue.Update("microsoft", "winget-pkgs", prToModify.Number, new IssueUpdate
{
Body = prBody,
Body = prBody.Replace("$PR_NUMBER_SUBST$", prToModify.Number.ToString()),
});
return 0;
}