Skip to content

Commit

Permalink
update index.js file
Browse files Browse the repository at this point in the history
  • Loading branch information
Karthik-Nayak98 committed Mar 13, 2021
1 parent 01ef5a4 commit b7d85d4
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@ const run = async () => {
} else if (event === 'issues') {
message = issue_message;

let arr = [labels: {name: 'proposal',
let labels = {name: 'proposal',
description: 'New changes or updates proposed',
color: 'BFD4F2', // this is a green color
}]
}

// label.push(octokit.issues.createLabel({
// name: 'proposal',
Expand All @@ -41,7 +41,7 @@ const run = async () => {
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
labels: arr.labels,
labels: "name: 'proposal', description: 'New changes or updates proposed',color: 'BFD4F2'"
});
}

Expand Down

0 comments on commit b7d85d4

Please sign in to comment.