Skip to content

Commit

Permalink
Update index.js
Browse files Browse the repository at this point in the history
  • Loading branch information
DonnieBLT authored Jul 15, 2024
1 parent 5fe62ba commit b60046a
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,14 @@ const run = async () => {
issue_number: issue.number,
assignees
});

// Add the message to the issue
await octokit.issues.createComment({
owner,
repo,
issue_number: issue.number,
body: `Hello @${assigneeLogin}! You've been assigned to [${repository}](https://github.com/${repository}/issues/${issue.number}). You have 24 hours to complete a pull request. To place a bid and potentially earn some BCH, type /bid [amount in BCH] [BCH address].`
});
}
} else {
console.log('removing assignees greater than 5 days');
Expand Down

0 comments on commit b60046a

Please sign in to comment.