Skip to content

Commit

Permalink
bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
Okabe-Junya committed Oct 3, 2023
1 parent 87b1ad7 commit b7943a0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/label-bot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ jobs:
repo: context.repo.repo,
pull_number: context.issue.number
});
const labels = pull_request_data.labels.map(label => label.name);
const is_release_label = labels.some(label => labels.includes(label));
const pull_request_labels = pull_request_data.labels.map(label => label.name);
const is_release_label = labels.some(label => pull_request_labels.includes(label));
if (is_release_label) {
core.setOutput("is_release_label", "true");
} else {
Expand Down

0 comments on commit b7943a0

Please sign in to comment.