You've already forked helm-actions
							
							Compare commits
	
		
			9 Commits
		
	
	
		
			feat/schem
			...
			feat/shell
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 
						
						
							
						
						fe652d335c
	
				 | 
					
					
						|||
| 
						
						
							
						
						bd3afb64c4
	
				 | 
					
					
						|||
| 
						
						
							
						
						421f3fcbc5
	
				 | 
					
					
						|||
| 
						
						
							
						
						891538554c
	
				 | 
					
					
						|||
| 
						
						
							
						
						f757aff455
	
				 | 
					
					
						|||
| 
						
						
							
						
						ba7770fdbd
	
				 | 
					
					
						|||
| 
						
						
							
						
						6e9230d722
	
				 | 
					
					
						|||
| 
						
						
							
						
						d72d43a51f
	
				 | 
					
					
						|||
| 
						
						
							
						
						b569e49893
	
				 | 
					
					
						
@@ -10,3 +10,6 @@ end_of_line = lf
 | 
				
			|||||||
charset = utf-8
 | 
					charset = utf-8
 | 
				
			||||||
trim_trailing_whitespace = false
 | 
					trim_trailing_whitespace = false
 | 
				
			||||||
insert_final_newline = false
 | 
					insert_final_newline = false
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					[Makefile]
 | 
				
			||||||
 | 
					indent_style = tab
 | 
				
			||||||
							
								
								
									
										14
									
								
								.gitea/workflows/shellcheck.yml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										14
									
								
								.gitea/workflows/shellcheck.yml
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,14 @@
 | 
				
			|||||||
 | 
					name: Lint Shell files
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					on:
 | 
				
			||||||
 | 
					  pull_request:
 | 
				
			||||||
 | 
					    branches: ["*"]
 | 
				
			||||||
 | 
					    types: ["opened", "reopened", "synchronize"]
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					jobs:
 | 
				
			||||||
 | 
					  shellcheck:
 | 
				
			||||||
 | 
					    runs-on: ubuntu-latest
 | 
				
			||||||
 | 
					    steps:
 | 
				
			||||||
 | 
					      - uses: actions/checkout@v4.2.2
 | 
				
			||||||
 | 
					      - run: apt update --yes && apt install --yes shellcheck
 | 
				
			||||||
 | 
					      - run: find . -type f -name "*.sh" -exec shellcheck -a {} \;
 | 
				
			||||||
							
								
								
									
										3
									
								
								Makefile
									
									
									
									
									
								
							
							
						
						
									
										3
									
								
								Makefile
									
									
									
									
									
								
							@@ -17,3 +17,6 @@ unittests-helm:
 | 
				
			|||||||
update-helm-dependencies:
 | 
					update-helm-dependencies:
 | 
				
			||||||
	helm dependency update
 | 
						helm dependency update
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					.PHONY: yamllint
 | 
				
			||||||
 | 
					yamllint:
 | 
				
			||||||
 | 
						yamllint -c .yamllint .
 | 
				
			||||||
@@ -8,9 +8,14 @@ check_token() {
 | 
				
			|||||||
  set +e
 | 
					  set +e
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  echo "Checking for existing token..."
 | 
					  echo "Checking for existing token..."
 | 
				
			||||||
  token="$(kubectl get secret "$SECRET_NAME" -o jsonpath="{.data['token']}" 2> /dev/null)"
 | 
					  if ! token=$(kubectl get secret "${SECRET_NAME}" -o jsonpath="{.data['token']}" 2> /dev/null); then
 | 
				
			||||||
  [ $? -ne 0 ] && return 1
 | 
					    return 1
 | 
				
			||||||
  [ -z "$token" ] && return 2
 | 
					  fi
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  if [ -z "${token}" ]; then
 | 
				
			||||||
 | 
					    return 2
 | 
				
			||||||
 | 
					  fi
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  return 0
 | 
					  return 0
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user