Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 9 additions & 3 deletions actions/setup/js/create_pull_request.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -1915,7 +1915,8 @@ ${pushErrorSection}
>
> The bundle file is available in the \`agent\` artifact in the workflow run linked above.

To create a pull request with the changes:
<details>
<summary>Create the pull request manually</summary>
Comment on lines +1918 to +1919

\`\`\`sh
${recoveryInstructions}
Expand All @@ -1925,7 +1926,9 @@ git push ${shellQuote(pushRemoteUrl || "origin")} ${shellQuote(branchName)}

# Create the pull request
gh pr create --title ${shellQuote(title)} --base ${shellQuote(baseBranch)} --head ${shellQuote(getPullRequestHeadRef(branchName))} --repo ${shellQuote(`${repoParts.owner}/${repoParts.repo}`)}
\`\`\``;
\`\`\`

</details>`;

try {
const { data: issue, issueRepoParts } = await createFallbackIssue(githubClient, repoParts, title, fallbackBody, mergeFallbackIssueLabels(effectiveFallbackLabels), configAssignees);
Expand Down Expand Up @@ -2281,7 +2284,8 @@ ${pushErrorSection}
>
> The patch file is available in the \`agent\` artifact in the workflow run linked above.

To create a pull request with the changes:
<details>
<summary>Create the pull request manually</summary>

\`\`\`sh
${recoveryInstructions}
Expand All @@ -2292,6 +2296,8 @@ git push ${shellQuote(pushRemoteUrl || "origin")} ${shellQuote(branchName)}
# Create the pull request
gh pr create --title ${shellQuote(title)} --base ${shellQuote(baseBranch)} --head ${shellQuote(getPullRequestHeadRef(branchName))} --repo ${shellQuote(`${repoParts.owner}/${repoParts.repo}`)}
\`\`\`

</details>
${patchPreview}`;

try {
Expand Down
Loading