Skip to content

build: changes of go mod tidy #219

build: changes of go mod tidy

build: changes of go mod tidy #219

name: Helm Docs Validation
on:
pull_request:
branches:
- main
jobs:
helm_docs_validation:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Install helm-docs
shell: bash
run: |
curl -LO https://github.com/norwoodj/helm-docs/releases/download/v1.11.0/helm-docs_1.11.0_Linux_x86_64.tar.gz
tar -xvf helm-docs_1.11.0_Linux_x86_64.tar.gz
sudo mv helm-docs /usr/local/bin/
- name: Generate Helm Docs
run: make generate-helm-docs
- name: Check for file changes
shell: bash
run: |
if [ -n "$(git diff)" ]; then
echo "::error::helm-docs-validation failed, did you forget to run \"make generate-helm-docs\"?"
exit 1
fi