Skip to content

Commit dab8886

Browse files
committed
Fix label assignment by using context.issue instead of context.repo
1 parent 6b0096f commit dab8886

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.github/workflows/backport.yml

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

0 commit comments

Comments
 (0)