From a85a065da83d20be6a909e96e4807f56e894388f Mon Sep 17 00:00:00 2001 From: Trevor Whitney Date: Mon, 30 Sep 2024 16:51:53 -0600 Subject: [PATCH] ci: make helm release manual (#14317) --- .github/workflows/helm-ci.yml | 11 ++--------- .github/workflows/helm-release.yaml | 7 +------ 2 files changed, 3 insertions(+), 15 deletions(-) diff --git a/.github/workflows/helm-ci.yml b/.github/workflows/helm-ci.yml index cbd51c60b8fac..80ea1db668653 100644 --- a/.github/workflows/helm-ci.yml +++ b/.github/workflows/helm-ci.yml @@ -4,6 +4,7 @@ on: pull_request: paths: - "production/helm/**" + - ".github/workflows/helm-ci.yml" env: CT_CONFIGFILE: production/helm/ct.yaml @@ -27,14 +28,6 @@ jobs: - name: Lint Yaml run: make helm-lint - - id: "get_github_app_token" - name: "Get Github app token" - uses: "actions/create-github-app-token@v1" - with: - app-id: "${{ secrets.APP_ID }}" - owner: "${{ github.repository_owner }}" - private-key: "${{ secrets.APP_PRIVATE_KEY }}" - - name: Lint Code Base uses: docker://github/super-linter:v3.12.0 env: @@ -45,7 +38,7 @@ jobs: VALIDATE_YAML: false VALIDATE_GO: false DEFAULT_BRANCH: main - GITHUB_TOKEN: ${{ steps.get_github_app_token.outputs.token }} + GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} call-test: name: Test Helm Chart runs-on: ubuntu-latest diff --git a/.github/workflows/helm-release.yaml b/.github/workflows/helm-release.yaml index d2f9fe97ba4f6..b0ee40c36568d 100644 --- a/.github/workflows/helm-release.yaml +++ b/.github/workflows/helm-release.yaml @@ -1,12 +1,7 @@ name: helm-release on: - push: - branches: - - main - - helm-5.48 - paths: - - 'production/helm/loki/Chart.yaml' + workflow_dispatch: # must be invoked manually jobs: call-update-helm-repo: