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 d81dbc1 commit 54c0aeb
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/add_label.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,13 @@ jobs:
with:
script: |
console.log(process.env.LABELS)
// convert process.env.LABELS to an array of strings
const labelsa = process.env.LABELS.split(',')
github.rest.issues.removeLabel({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
name: ["repo"]
name: labelsa
})
const { execSync } = require('child_process')
Expand Down

0 comments on commit 54c0aeb

Please sign in to comment.