Skip to content

Commit

Permalink
Change the label that is added when dev attempts to open multiple iss…
Browse files Browse the repository at this point in the history
…ues (#7466)

* added github handle for Muyin Zheng

* changed the label that is added when a developer tries to open multiple issues

* removed comment
  • Loading branch information
izma-mujeeb authored Sep 19, 2024
1 parent b608fd2 commit d35bce8
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ const statusValues = new Map([
[In_Progress, "9a878e9c"],
]);

const READY_FOR_DEV_LABEL = "ready for dev lead";
const READY_FOR_PRIORITIZATION = "Ready for Prioritization";

/**
* @description This function is the entry point into the JavaScript file. It formats the
Expand Down Expand Up @@ -78,7 +78,7 @@ async function main({ g, c }, { shouldPost, issueNum }) {
await postComment(issueNum, comment, github, context);

await unAssignDev(); // Unassign the developer
await addLabel(READY_FOR_DEV_LABEL); // Add 'ready for dev lead' label
await addLabel(READY_FOR_PRIORITIZATION);

// Update item's status to "New Issue Approval"
const itemInfo = await getItemInfo();
Expand Down Expand Up @@ -207,7 +207,7 @@ async function createComment(fileName) {
}

/**
* @description - Add 'ready for dev lead' label to the issue
* @description - Add label to the issue
* @param {String} labelName - Name of the label to add
*/
async function addLabel(labelName) {
Expand Down

0 comments on commit d35bce8

Please sign in to comment.