Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Kha authored Nov 5, 2024
1 parent ec64311 commit 38aaf12
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/labels-from-comments.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:
const chlog = commentLines.find(line => line.startsWith("changelog-");
if (chlog) {
const previous = labels.find(label => label.name.startsWith("changelog-");
if (previous)) {
if (previous) {
await github.rest.issues.removeLabel({ owner, repo, issue_number, name: previous.name });
}
await github.rest.issues.addLabels({ owner, repo, issue_number, labels: [chlog] });
Expand Down

0 comments on commit 38aaf12

Please sign in to comment.