mirror of
				https://github.com/go-gitea/gitea
				synced 2025-11-03 21:08:25 +00:00 
			
		
		
		
	Run yamllint with strict mode, fix issue (#33551)
Previously yamllint would issue warnings for certain things, while still exiting with zero. Now warnings are treated like errors and will cause non-zero exit: ``` -s, --strict return non-zero exit code on warnings as well as errors ```
This commit is contained in:
		
							
								
								
									
										2
									
								
								Makefile
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								Makefile
									
									
									
									
									
								
							@@ -393,7 +393,7 @@ lint-templates: .venv node_modules ## lint template files
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
.PHONY: lint-yaml
 | 
					.PHONY: lint-yaml
 | 
				
			||||||
lint-yaml: .venv ## lint yaml files
 | 
					lint-yaml: .venv ## lint yaml files
 | 
				
			||||||
	@poetry run yamllint .
 | 
						@poetry run yamllint -s .
 | 
				
			||||||
 | 
					
 | 
				
			||||||
.PHONY: watch
 | 
					.PHONY: watch
 | 
				
			||||||
watch: ## watch everything and continuously rebuild
 | 
					watch: ## watch everything and continuously rebuild
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user