From 9f4ab4b2c5dd1712d8e0a0a5e28ba07d851f0669 Mon Sep 17 00:00:00 2001 From: Ricardo Katz Date: Mon, 17 Jan 2022 10:09:30 -0300 Subject: [PATCH] Rollback on helmdoc generation (#8154) --- .github/workflows/helm.yaml | 22 ---------------------- 1 file changed, 22 deletions(-) diff --git a/.github/workflows/helm.yaml b/.github/workflows/helm.yaml index 1134a66f01..b0adb644e4 100644 --- a/.github/workflows/helm.yaml +++ b/.github/workflows/helm.yaml @@ -57,28 +57,6 @@ jobs: git config --global user.name "$GITHUB_ACTOR" git config --global user.email "$GITHUB_ACTOR@users.noreply.github.com" - - name: Set up Go 1.17 - id: go - uses: actions/setup-go@v2 - with: - go-version: 1.17 - - - name: Run helm-docs - env: - GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}" - run: | - cd ${GITHUB_WORKSPACE} - GOBIN=$PWD GO111MODULE=on go install github.com/norwoodj/helm-docs/cmd/helm-docs@v1.6.0 - ./helm-docs --chart-search-root=${GITHUB_WORKSPACE}/charts - DIFF=$(git diff ${GITHUB_WORKSPACE}/charts/ingress-nginx/README.md) - if [ ! -z "$DIFF" ]; then - git add ${GITHUB_WORKSPACE}/charts/ingress-nginx/README.md - git commit -m "Update helm README" - git push --force https://x-access-token:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git main - fi - rm ./helm-docs - - - name: Run chart-releaser uses: helm/chart-releaser-action@v1.2.1 env: