From 11e720bf908f8566ed61823e754f70e1e9fce2d0 Mon Sep 17 00:00:00 2001 From: Will Gillis <40799239+t-will-gillis@users.noreply.github.com> Date: Sat, 1 Feb 2025 10:20:26 -0800 Subject: [PATCH] Update issue number of Mon. Dev/PM meeting agenda --- .../list-inactive-members/create-new-issue.js | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/github-actions/trigger-schedule/list-inactive-members/create-new-issue.js b/github-actions/trigger-schedule/list-inactive-members/create-new-issue.js index 8dcf9f731e..ca00a7aee1 100644 --- a/github-actions/trigger-schedule/list-inactive-members/create-new-issue.js +++ b/github-actions/trigger-schedule/list-inactive-members/create-new-issue.js @@ -7,6 +7,14 @@ const postComment = require('../../utils/post-issue-comment'); var github; var context; +const AGENDA_ISSUE_NUM = 7859; // Issue number of the Dev/PM meeting agenda on Mondays + +/** + * @description - Function to create a new issue that lists inactive and removed members and posts + * a notification to the Dev/PM meeting agenda about inactive members with open issues + * @param {Object} g - GitHub object + * @param {Object} c - Context object +*/ async function main({ g, c }) { github = g; context = c; @@ -19,7 +27,6 @@ async function main({ g, c }) { const owner = context.repo.owner; const repo = context.repo.repo; - const agendaIssueNum = 2607; // Issue number of the Dev/PM meeting agenda on Mondays // Create a new issue in repo, return the issue id for later: creating the project card linked to this issue const issue = await createIssue(owner, repo, inactiveLists); @@ -27,7 +34,7 @@ async function main({ g, c }) { // Add issue number used to reference the issue and comment on the `Dev/PM Agenda and Notes` const commentBody = `**Review Inactive Team Members:** #` + issueNumber + inactiveWithOpen; - await postComment(agendaIssueNum, commentBody, github, context); + await postComment(AGENDA_ISSUE_NUM, commentBody, github, context); } const createIssue = async (owner, repo, inactiveLists) => {