mirror of
				https://github.com/LOLBAS-Project/LOLBAS
				synced 2025-10-31 16:49:36 +01:00 
			
		
		
		
	lint changes for push
This commit is contained in:
		
							
								
								
									
										17
									
								
								.github/workflows/yaml-lint-reviewdog.yml
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										17
									
								
								.github/workflows/yaml-lint-reviewdog.yml
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,17 @@ | ||||
| --- | ||||
| name: YAML Lint with reviewdog | ||||
| on: | ||||
|   pull_request: | ||||
|     branches: | ||||
|       - master | ||||
|  | ||||
| jobs: | ||||
|   lintFiles: | ||||
|     runs-on: ubuntu-latest | ||||
|     steps: | ||||
|       - uses: actions/checkout@v3 | ||||
|       - name: Run yamllint | ||||
|         uses: reviewdog/action-yamllint@v1 | ||||
|         with: | ||||
|           reporter: github-pr-review # Change reporter. | ||||
|           yamllint_flags: '--config-file .github/.yamllint' | ||||
							
								
								
									
										17
									
								
								.github/workflows/yaml-linting.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										17
									
								
								.github/workflows/yaml-linting.yml
									
									
									
									
										vendored
									
									
								
							| @@ -1,20 +1,13 @@ | ||||
| --- | ||||
| name: YAML Lint | ||||
| on: | ||||
|   push: | ||||
|     branches: | ||||
|       - master | ||||
|   pull_request: | ||||
|     branches: | ||||
|       - master | ||||
| name: YAML Lint Push Check | ||||
| on: [push] | ||||
|  | ||||
| jobs: | ||||
|   lintFiles: | ||||
|     runs-on: ubuntu-latest | ||||
|     steps: | ||||
|       - uses: actions/checkout@v3 | ||||
|       - name: Run yamllint | ||||
|         uses: reviewdog/action-yamllint@v1 | ||||
|       - name: Frenck's yamllint | ||||
|         uses: frenck/action-yamllint@v1 | ||||
|         with: | ||||
|           reporter: github-pr-review # Change reporter. | ||||
|           yamllint_flags: '--config-file .github/.yamllint' | ||||
|           config: ".github/.yamllint" | ||||
|   | ||||
		Reference in New Issue
	
	Block a user