Skip to content

Commit e47d0a4

Browse files
committed
Fix script typo; make test a little more realistic
1 parent 9a0a576 commit e47d0a4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/create-porting-issue.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,12 @@ jobs:
2626
? "machine.py"
2727
: "machine";
2828
29-
if (context.event.action === "opened") {
29+
if (context.payload.action === "opened") {
3030
await github.rest.issues.create({
3131
owner,
3232
repo: otherRepo,
3333
title: "Test auto-porting issue",
34-
body: "This is a test",
34+
body: "This is a test. Porting from ${currentRepo} to ${otherRepo}",
3535
labels: ["porting"]
3636
});
3737
}

0 commit comments

Comments
 (0)