Skip to content

Commit

Permalink
Update add_label.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
tilucasoli committed Jun 28, 2024
1 parent 5021bc0 commit d1ca5e4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/add_label.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,12 @@ jobs:
const packagesFiles = files.filter(file => file.startsWith('packages/') && !file.includes('ignoredPackages'))
const packages = packagesFiles.map(file => file.split('/')[1])
const uniquePackages = new Set(packages)
console.log(uniquePackages)
console.log(Array.from(uniquePackages))
github.rest.issues.addLabels({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
labels: Array.from(uniquePackages)
labels: ['triage']
})

0 comments on commit d1ca5e4

Please sign in to comment.