Skip to content

Commit

Permalink
update labeling
Browse files Browse the repository at this point in the history
  • Loading branch information
hars-21 committed Jun 10, 2024
1 parent 1fc5660 commit 19c2563
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/auto-label.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,5 @@ jobs:
script: |
github.issues.listForRepo({ owner: context.repo.owner, repo: context.repo.repo })
.then(response => response.data.map(issue => ({ issue_number: issue.number })))
.then(issues => Promise.all(issues.map(issue => github.issues.addLabels(context.repo.owner, context.repo.repo, issue.issue_number, ["YOUR_LABEL"]))))
.then(() => console.log("Labels added successfully!"))
.then(issues => Promise.all(issues.map(issue => github.issues.addLabels(context.repo.owner, context.repo.repo, issue.issue_number, ["gssoc"]))))
.catch(error => console.error(error));

0 comments on commit 19c2563

Please sign in to comment.