mirror of
				https://gitee.com/actions-mirror/cache.git
				synced 2025-11-04 12:31:20 +08:00 
			
		
		
		
	Bug fix in PR assignee workflow
This commit is contained in:
		
							parent
							
								
									2a6cd14175
								
							
						
					
					
						commit
						f8116c8945
					
				
							
								
								
									
										2
									
								
								.github/workflows/add-reviewer-pr.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								.github/workflows/add-reviewer-pr.yml
									
									
									
									
										vendored
									
									
								
							@ -17,4 +17,4 @@ jobs:
 | 
			
		||||
        
 | 
			
		||||
    - name: Add Assignee
 | 
			
		||||
      run: |
 | 
			
		||||
        curl -X POST -H "Accept: application/vnd.github+json" -H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN}}" https://api.github.com/repos/${{github.repository}}/issues/${{ github.event.issue.number}}/assignees -d '{"assignees":["${{steps.oncall.outputs.CURRENT}}"]}'    
 | 
			
		||||
        curl -X POST -H "Accept: application/vnd.github+json" -H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN}}" https://api.github.com/repos/${{github.repository}}/issues/${{ github.event.pull_request.number}}/assignees -d '{"assignees":["${{steps.oncall.outputs.CURRENT}}"]}'    
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user