mirror of
				https://github.com/cmur2/kube-stale-resources.git
				synced 2025-10-31 10:25:09 +01:00 
			
		
		
		
	ci: add actionlint
This commit is contained in:
		
							
								
								
									
										17
									
								
								.github/actionlint-matcher.json
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										17
									
								
								.github/actionlint-matcher.json
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,17 @@ | |||||||
|  | { | ||||||
|  |   "problemMatcher": [ | ||||||
|  |     { | ||||||
|  |       "owner": "actionlint", | ||||||
|  |       "pattern": [ | ||||||
|  |         { | ||||||
|  |           "regexp": "^(?:\\x1b\\[\\d+m)?(.+?)(?:\\x1b\\[\\d+m)*:(?:\\x1b\\[\\d+m)*(\\d+)(?:\\x1b\\[\\d+m)*:(?:\\x1b\\[\\d+m)*(\\d+)(?:\\x1b\\[\\d+m)*: (?:\\x1b\\[\\d+m)*(.+?)(?:\\x1b\\[\\d+m)* \\[(.+?)\\]$", | ||||||
|  |           "file": 1, | ||||||
|  |           "line": 2, | ||||||
|  |           "column": 3, | ||||||
|  |           "message": 4, | ||||||
|  |           "code": 5 | ||||||
|  |         } | ||||||
|  |       ] | ||||||
|  |     } | ||||||
|  |   ] | ||||||
|  | } | ||||||
							
								
								
									
										10
									
								
								.github/workflows/ci.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										10
									
								
								.github/workflows/ci.yml
									
									
									
									
										vendored
									
									
								
							| @@ -60,6 +60,16 @@ jobs: | |||||||
|         sleep 1 |         sleep 1 | ||||||
|         make e2e-with-kind |         make e2e-with-kind | ||||||
|  |  | ||||||
|  |   actionlint: | ||||||
|  |     runs-on: ubuntu-latest | ||||||
|  |     steps: | ||||||
|  |     - uses: actions/checkout@v3 | ||||||
|  |     - name: Check workflow files | ||||||
|  |       run: | | ||||||
|  |         echo "::add-matcher::.github/actionlint-matcher.json" | ||||||
|  |         bash <(curl https://raw.githubusercontent.com/rhysd/actionlint/main/scripts/download-actionlint.bash) | ||||||
|  |         ./actionlint | ||||||
|  |  | ||||||
|   codeql: |   codeql: | ||||||
|     runs-on: ubuntu-latest |     runs-on: ubuntu-latest | ||||||
|     steps: |     steps: | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Christian Nicolai
					Christian Nicolai