Skip to content

Commit

Permalink
Patch issue to use github-token instead of bot-token (#51)
Browse files Browse the repository at this point in the history
  • Loading branch information
fuxingloh authored Feb 21, 2021
1 parent 322d6b2 commit 860ab7f
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
14 changes: 7 additions & 7 deletions .github/labels.yml
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
# Generic useful labels
- color: cfd3d7
# GitHub generic useful labels
- color: c4d471
name: duplicate
description: This issue or pull request already exists
- color: 7057ff
name: good first issue
description: Good for newcomers

# Needs
- color: f9d0c4
- color: cc40d8
name: needs/kind
description: Needs kind label
- color: f9d0c4
- color: cc40d8
name: needs/area
description: Needs area label(s)
- color: f9d0c4
- color: cc40d8
name: needs/priority
description: Needs a priority label
- color: f9d0c4
- color: cc40d8
name: needs/triage
description: Waiting for triage to be accepted

Expand Down Expand Up @@ -69,6 +69,6 @@
description: Will be important soon

# Triage
- color: c2e0c6
- color: b1f488
name: triage/accepted
description: Triage has been accepted
2 changes: 1 addition & 1 deletion 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.

2 changes: 1 addition & 1 deletion src/github.ts
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ export async function postComment(body: string) {
}

export async function patchIssue(changes: any) {
const client = initClient(core.getInput('bot-token'))
const client = initClient()

await client.issues.update({
owner: github.context.repo.owner,
Expand Down

0 comments on commit 860ab7f

Please sign in to comment.