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 7c56996 commit 1855d36
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/add_label.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
with:
ref: ${{ github.event.pull_request.head.sha }}
fetch-depth: 0
- uses: actions/github-script@v6
- uses: actions/github-script@v7
with:
script: |
const { execSync } = require('child_process')
Expand All @@ -24,3 +24,8 @@ jobs:
console.log(files)
const packagesFiles = files.filter(file => file.startsWith('packages/'))
const packages = packagesFiles.map(file => file.split('/')[1])
const uniquePackages = new Set(packages)
console.log(uniquePackages)

0 comments on commit 1855d36

Please sign in to comment.