mirror of
				https://github.com/Mibew/simple-icons.git
				synced 2025-10-31 18:41:07 +03:00 
			
		
		
		
	Use GitHub Actions to automatically label Pull Requests (#2420)
* Add workflow file to run PR labeler and corresponding configuration file I'm using my personal fork of https://github.com/actions/labeler because I could not any labeling action that checked whether a file was added or changed (or removed). * Fix typo in Labeler action configuration file
This commit is contained in:
		
							parent
							
								
									ff7bb4fb1f
								
							
						
					
					
						commit
						f357ac73f3
					
				
							
								
								
									
										11
									
								
								.github/labeler.yml
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										11
									
								
								.github/labeler.yml
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @ -0,0 +1,11 @@ | ||||
| # Configuration file for the Pull Request Labeler bot | ||||
| 
 | ||||
| # Add `new icon` label when there is an SVG added to the icons/ directory | ||||
| "new icon": | ||||
|   - on: added | ||||
|   - icons/*.svg | ||||
| 
 | ||||
| # Add `icon outdated` label when there is an SVG modified to the icons/ directory | ||||
| "icon outdated": | ||||
|   - on: modified | ||||
|   - icons/*.svg | ||||
							
								
								
									
										11
									
								
								.github/workflows/pull_requests.yml
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										11
									
								
								.github/workflows/pull_requests.yml
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @ -0,0 +1,11 @@ | ||||
| name: Pull Requests | ||||
| on: [pull_request] | ||||
| 
 | ||||
| jobs: | ||||
|   label: | ||||
|     runs-on: ubuntu-latest | ||||
| 
 | ||||
|     steps: | ||||
|     - uses: ericcornelissen/labeler@master | ||||
|       with: | ||||
|         repo-token: "${{ secrets.GITHUB_TOKEN }}" | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user