Skip to content

Commit 07097de

Browse files
committed
Revert "Fix label assignment by using context.issue instead of context.repo"
This reverts commit dab8886.
1 parent d3a5c9c commit 07097de

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/backport.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@ jobs:
3131
3232
// Add the label to the issue
3333
await github.rest.issues.addLabels({
34-
...context.issue,
34+
...context.repo,
35+
issue_number: context.issue.number,
3536
labels: [label],
3637
});
3738
} else {

0 commit comments

Comments
 (0)