Skip to content

Commit

Permalink
feat: Add user.login (#271)
Browse files Browse the repository at this point in the history
  • Loading branch information
peaceiris authored Sep 12, 2020
1 parent 1d57855 commit 5abc130
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,9 @@ export async function run(): Promise<void> {

// Render template
const commentBodyView = {
user: {
login: (context.payload as any).user.login // eslint-disable-line @typescript-eslint/no-explicit-any
},
sender: {
login: (context.payload as any).sender.login // eslint-disable-line @typescript-eslint/no-explicit-any
}
Expand Down

0 comments on commit 5abc130

Please sign in to comment.