mirror of
				https://github.com/LOLBAS-Project/LOLBAS
				synced 2025-10-31 16:49:36 +01:00 
			
		
		
		
	Add file extension validation
This commit is contained in:
		
							
								
								
									
										2
									
								
								.github/workflows/yaml-linting.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								.github/workflows/yaml-linting.yml
									
									
									
									
										vendored
									
									
								
							| @@ -7,6 +7,8 @@ jobs: | ||||
|     runs-on: ubuntu-latest | ||||
|     steps: | ||||
|       - uses: actions/checkout@v3 | ||||
|       - name: Check file extensions | ||||
|         run: if [[ $(find ./yml -type f -not -name "*.yml") ]]; then echo "Files with unexpected extension found, please ensure you use ".yml" (all lower case) for files in the yml/ folder."; exit 1; fi | ||||
|       - name: yaml-lint | ||||
|         uses: ibiqlik/action-yamllint@v3 | ||||
|         with: | ||||
|   | ||||
		Reference in New Issue
	
	Block a user