mirror of https://github.com/dapr/java-sdk.git
				
				
				
			fix github action for dapr comment analyzer bot (#680)
Signed-off-by: Mukundan Sundararajan <msundar.ms@outlook.com> Co-authored-by: Artur Souza <artursouza.ms@outlook.com>
This commit is contained in:
		
							parent
							
								
									9989832b56
								
							
						
					
					
						commit
						4c077e1de2
					
				|  | @ -20,7 +20,8 @@ jobs: | ||||||
| 
 | 
 | ||||||
|             if (!isFromPulls && commentBody && commentBody.indexOf("/assign") == 0) { |             if (!isFromPulls && commentBody && commentBody.indexOf("/assign") == 0) { | ||||||
|               if (!issue.assignees || issue.assignees.length === 0) { |               if (!issue.assignees || issue.assignees.length === 0) { | ||||||
|                 await github.issues.addAssignees({ |                 // See https://github.com/actions/github-script#breaking-changes-in-v5 | ||||||
|  |                 await github.rest.issues.addAssignees({ | ||||||
|                   owner: issue.owner, |                   owner: issue.owner, | ||||||
|                   repo: issue.repo, |                   repo: issue.repo, | ||||||
|                   issue_number: issue.number, |                   issue_number: issue.number, | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue