fix deploy workload identity parameter #493
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: check_helm | |
on: | |
push: | |
jobs: | |
check_helm: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: setup_python | |
uses: actions/setup-python@v2 | |
- name: setup_pip | |
run: | | |
python -m ensurepip --upgrade | |
- name: setup_checkcov | |
run: | | |
python -m pip install -U checkov | |
- name: setup_helm | |
run: | | |
curl -fsSL -o get_helm.sh https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3 | |
chmod 700 get_helm.sh | |
./get_helm.sh | |
- name: run_checkov | |
run: | | |
FILE=./util/values.checkov.yaml | |
if [ -f "${FILE}" ]; then | |
checkov -d src --var-file "${FILE}" --framework helm | |
else | |
echo "${FILE} does not exist." | |
exit 0 | |
fi |