Skip to content

Commit d3a5c9c

Browse files
committed
Update GitHub API method for adding labels in backport workflow
1 parent dab8886 commit d3a5c9c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/backport.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
console.log(label);
3131
3232
// Add the label to the issue
33-
await github.issues.addLabels({
33+
await github.rest.issues.addLabels({
3434
...context.issue,
3535
labels: [label],
3636
});

0 commit comments

Comments
 (0)