Skip to content

Commit

Permalink
Add Requested Changes
Browse files Browse the repository at this point in the history
  • Loading branch information
JavidSumra committed Nov 28, 2024
1 parent 314047b commit e179fc2
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions .github/workflows/thank-you.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,9 @@ jobs:
const { data : { assignees, user } } = await github.rest.issues.get(options);
const uniqueUsers = new Set(
assignees.length > 0
? assignees.map(u => u.login)
: [user.login]
);
const taggedUsers = Array.from(uniqueUsers)
.map(login => '@' + login)
.join(' ');
const taggedUsers = [...new Set(
assignees.map(u => "@"+u.login).concat("@"+user.login)
)].join(" ")
await github.rest.issues.createComment({
...options,
Expand Down

0 comments on commit e179fc2

Please sign in to comment.