Skip to content

Commit 8d4c2c2

Browse files
authored
Revert "Backport: work around GitHub .patch URL issue (dotnet#74452)" (dotnet#76659)
This reverts commit 96a32c6.
1 parent 9332dcd commit 8d4c2c2

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

eng/actions/backport/index.js

+1-3
Original file line numberDiff line numberDiff line change
@@ -67,9 +67,7 @@ async function run() {
6767
} catch { }
6868

6969
// download and apply patch
70-
let patch_url = github.context.payload.issue.pull_request.patch_url;
71-
patch_url = patch_url.replace("runtime", "RUNTIME");
72-
await exec.exec(`curl -sSL "${patch_url}" --output changes.patch`);
70+
await exec.exec(`curl -sSL "${github.context.payload.issue.pull_request.patch_url}" --output changes.patch`);
7371

7472
const git_am_command = "git am --3way --ignore-whitespace --keep-non-patch changes.patch";
7573
let git_am_output = `$ ${git_am_command}\n\n`;

0 commit comments

Comments
 (0)