Skip to content

Commit 545d5e9

Browse files
committed
fix: script
1 parent 70c0fa7 commit 545d5e9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/housekeeping-label-feature-pr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
script: |
1313
const branch = context.payload.pull_request.head.ref;
1414
if (/^feature\/.*/.test(branch)) {
15-
await github.issues.addLabels({
15+
await github.rest.issues.addLabels({
1616
owner: context.repo.owner,
1717
repo: context.repo.repo,
1818
issue_number: context.payload.number,

0 commit comments

Comments
 (0)