Skip to content

Commit

Permalink
using new good first issue labelers team
Browse files Browse the repository at this point in the history
  • Loading branch information
krishnarao22 committed Jul 29, 2023
1 parent fb977c7 commit 710835d
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions actions/src/issues/checkIssueLabels.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,12 +50,7 @@ const checkLabels = async () => {
const handleGoodFirstIssueLabel = async (octokit, user) => {
const issueNumber = context.payload.issue.number;
// Comment on the issue and ping the onboarding team lead.
var commentBody = 'Hi @' + user + ', thanks for proposing this as a good first ' +
'issue. I am removing the label for now and looping in '
for (const teamMember of userWhitelist.goodFirstIssue) {
commentBody += '@' + teamMember + ' ';
}
commentBody += 'to approve the label. It will be added back if approved. Thanks!';
var commentBody = 'Hi @' + user + ', only certain users are allowed to add good first issue labels. Looping in @oppia/oppia-good-first-issue-labelers to add the label.';
await octokit.issues.createComment(
{
body: commentBody,
Expand Down

0 comments on commit 710835d

Please sign in to comment.