mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 08:30:25 +08:00 
			
		
		
		
	Tweak labeler config (#27502)
Alternative to https://github.com/go-gitea/gitea/pull/27439. Removes a few spammy labels, and disables `sync-labels` which make it never remove labels (which is default behaviour).
This commit is contained in:
		
							
								
								
									
										13
									
								
								.github/labeler.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										13
									
								
								.github/labeler.yml
									
									
									
									
										vendored
									
									
								
							@@ -6,10 +6,6 @@ kind/ui:
 | 
				
			|||||||
  - "web_src/**/*"
 | 
					  - "web_src/**/*"
 | 
				
			||||||
  - all: ["templates/**", "!templates/swagger/v1_json.tmpl"]
 | 
					  - all: ["templates/**", "!templates/swagger/v1_json.tmpl"]
 | 
				
			||||||
 | 
					
 | 
				
			||||||
kind/api:
 | 
					 | 
				
			||||||
  - "templates/swagger/v1_json.tmpl"
 | 
					 | 
				
			||||||
  - "routers/api/**"
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
kind/build:
 | 
					kind/build:
 | 
				
			||||||
  - "Makefile"
 | 
					  - "Makefile"
 | 
				
			||||||
  - "Dockerfile"
 | 
					  - "Dockerfile"
 | 
				
			||||||
@@ -17,15 +13,6 @@ kind/build:
 | 
				
			|||||||
  - "docker/**"
 | 
					  - "docker/**"
 | 
				
			||||||
  - "webpack.config.js"
 | 
					  - "webpack.config.js"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
theme/package-registry:
 | 
					 | 
				
			||||||
  - "modules/packages/**"
 | 
					 | 
				
			||||||
  - "services/packages/**"
 | 
					 | 
				
			||||||
  - "routers/api/packages/**"
 | 
					 | 
				
			||||||
  - "routers/web/shared/packages/**"
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
kind/cli:
 | 
					 | 
				
			||||||
  - "cmd/**"
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
kind/lint:
 | 
					kind/lint:
 | 
				
			||||||
  - ".eslintrc.yaml"
 | 
					  - ".eslintrc.yaml"
 | 
				
			||||||
  - ".golangci.yml"
 | 
					  - ".golangci.yml"
 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										1
									
								
								.github/workflows/pull-labeler.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										1
									
								
								.github/workflows/pull-labeler.yml
									
									
									
									
										vendored
									
									
								
							@@ -18,4 +18,3 @@ jobs:
 | 
				
			|||||||
      - uses: actions/labeler@v4
 | 
					      - uses: actions/labeler@v4
 | 
				
			||||||
        with:
 | 
					        with:
 | 
				
			||||||
          dot: true
 | 
					          dot: true
 | 
				
			||||||
          sync-labels: true
 | 
					 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user