Skip to content

Commit

Permalink
chore: add option for multiple labels
Browse files Browse the repository at this point in the history
  • Loading branch information
Anmol-Baranwal committed Nov 15, 2023
1 parent 634cefb commit 13eeefa
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ async function HandleMultipleIssues() {
core.notice("step 1.");

// Retrieve custom inputs
const label = core.getInput("label") || "multiple issues"; // Set default label
// const label = core.getInput("label") || "multiple issues"; // Set default label
const label = JSON.parse(core.getInput("label")) || ["multiple issues"];
const assign = core.getInput("assign") === "true" || false;
const issueNumber = core.getInput("issueNumber") === "true" || false; // converts to boolean
const comment = core.getInput("comment");
Expand Down

0 comments on commit 13eeefa

Please sign in to comment.