From 89945577977f7f99f6f88028209f01bee7524a55 Mon Sep 17 00:00:00 2001 From: Vitali Date: Tue, 8 Oct 2024 15:07:50 +0300 Subject: [PATCH] Update release.yml --- .github/workflows/release.yml | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a9a42077..e784b56f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,19 +1,18 @@ name: Release Charts on: - release: - types: [published] + push: + branches: + - main jobs: release: - # depending on default permission settings for your org (contents being read-only or read-write for workloads), you will have to add permissions - # see: https://docs.github.com/en/actions/security-guides/automatic-token-authentication#modifying-the-permissions-for-the-github_token permissions: contents: write runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 @@ -22,14 +21,7 @@ jobs: git config user.name "$GITHUB_ACTOR" git config user.email "$GITHUB_ACTOR@users.noreply.github.com" - - name: Install Helm - uses: azure/setup-helm@v4 - env: - GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}" - - name: Run chart-releaser uses: helm/chart-releaser-action@v1.6.0 - with: - charts_dir: ./ env: CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"