mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-31 15:12:06 +00:00 
			
		
		
		
	[CI] Fix by-code-owner labelling (#9661)
This commit is contained in:
		
							
								
								
									
										3
									
								
								.github/workflows/auto-label-pr.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										3
									
								
								.github/workflows/auto-label-pr.yml
									
									
									
									
										vendored
									
									
								
							| @@ -305,8 +305,7 @@ jobs: | |||||||
|               const { data: codeownersFile } = await github.rest.repos.getContent({ |               const { data: codeownersFile } = await github.rest.repos.getContent({ | ||||||
|                 owner, |                 owner, | ||||||
|                 repo, |                 repo, | ||||||
|                 path: '.github/CODEOWNERS', |                 path: 'CODEOWNERS', | ||||||
|                 ref: context.payload.pull_request.head.sha |  | ||||||
|               }); |               }); | ||||||
|  |  | ||||||
|               const codeownersContent = Buffer.from(codeownersFile.content, 'base64').toString('utf8'); |               const codeownersContent = Buffer.from(codeownersFile.content, 'base64').toString('utf8'); | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user