Skip to content

Commit

Permalink
Use await to get proposed labels
Browse files Browse the repository at this point in the history
  • Loading branch information
satoryu committed Jan 2, 2025
1 parent 5774004 commit 6c4fef0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ try {
...github.context.repo,
});

const labels = proposeLabels(issue.data, availableLabels.data, { apiKey, logger: core } );
const labels = await proposeLabels(issue.data, availableLabels.data, { apiKey, logger: core } );

if (labels.length > 0) {
await octokit.rest.issues.setLabels({
Expand Down

0 comments on commit 6c4fef0

Please sign in to comment.