mirror of
				https://github.com/actions/cache.git
				synced 2025-11-04 13:29:10 +08:00 
			
		
		
		
	Bug fix in PR assignee workflow
This commit is contained in:
		
							
								
								
									
										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}}"]}'    
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user