mirror of
				https://github.com/goldbergyoni/nodebestpractices.git
				synced 2025-11-04 04:13:54 +08:00 
			
		
		
		
	add auto labeler
This commit is contained in:
		
							
								
								
									
										2
									
								
								.github/label.yml
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										2
									
								
								.github/label.yml
									
									
									
									
										vendored
									
									
										Normal file
									
								
							@ -0,0 +1,2 @@
 | 
				
			|||||||
 | 
					japanese-translation:
 | 
				
			||||||
 | 
					  - "**"
 | 
				
			||||||
							
								
								
									
										15
									
								
								.github/workflows/autolabeler.yml
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										15
									
								
								.github/workflows/autolabeler.yml
									
									
									
									
										vendored
									
									
										Normal file
									
								
							@ -0,0 +1,15 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
 | 
					name: Labeler for japanese-translation
 | 
				
			||||||
 | 
					on:
 | 
				
			||||||
 | 
					  pull_request:
 | 
				
			||||||
 | 
					    branches:
 | 
				
			||||||
 | 
					      - japanese-translation
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					jobs:
 | 
				
			||||||
 | 
					  label:
 | 
				
			||||||
 | 
					    runs-on: ubuntu-latest
 | 
				
			||||||
 | 
					    steps:
 | 
				
			||||||
 | 
					      - uses: actions/labeler@v2
 | 
				
			||||||
 | 
					        with:
 | 
				
			||||||
 | 
					          repo-token: "${{ secrets.GITHUB_TOKEN }}"
 | 
				
			||||||
 | 
					          configuration-path: ".github/label.yml"
 | 
				
			||||||
		Reference in New Issue
	
	Block a user