File tree 1 file changed +0
-15
lines changed 1 file changed +0
-15
lines changed Original file line number Diff line number Diff line change @@ -126,24 +126,9 @@ export async function run(): Promise<void> {
126
126
}
127
127
128
128
// Render template
129
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
130
- const assignees = ( context . payload as any ) ?. issue ?. assignees ?? [ ] ;
131
- if ( core . isDebug ( ) ) {
132
- console . log ( assignees ) ;
133
- }
134
129
const commentBodyView = {
135
130
sender : {
136
131
login : ( context . payload as any ) . sender . login // eslint-disable-line @typescript-eslint/no-explicit-any
137
- } ,
138
- issue : {
139
- assignees : function ( ) {
140
- const assigneesList : string [ ] = [ ] ;
141
- Object . keys ( assignees ) . forEach ( assignee => {
142
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
143
- assigneesList . push ( ( assignee as any ) . login ) ;
144
- } ) ;
145
- return assigneesList ;
146
- }
147
132
}
148
133
} ;
149
134
const commentBodyRendered = Mustache . render ( commentBody , commentBodyView ) ;
You can’t perform that action at this time.
0 commit comments