From cfc7689bf5ef5637cc80e0612d256702d812abc1 Mon Sep 17 00:00:00 2001 From: Om Mishra <32200996+mishraomp@users.noreply.github.com> Date: Sun, 4 Feb 2024 11:32:40 -0800 Subject: [PATCH] fix: pipeline (#62) * fix merge yaml * fix helm release * fix helm release --- .github/workflows/merge.yml | 5 +---- .github/workflows/pr-close.yml | 2 -- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/.github/workflows/merge.yml b/.github/workflows/merge.yml index 1a3a621..9c2bcf0 100644 --- a/.github/workflows/merge.yml +++ b/.github/workflows/merge.yml @@ -86,15 +86,12 @@ jobs: git config user.email "$GITHUB_ACTOR@users.noreply.github.com" - name: package helm chart shell: bash - working-directory: charts/${{ github.event.repository.name }} run: | - helm dependency update - helm package --app-version="${{ needs.semantic-release.outputs.tag }}" --version=${{ needs.semantic-release.outputs.tag }} . + helm package -u --destination=.cr-release-packages --app-version="${{ needs.semantic-release.outputs.tag }}" --version=${{ needs.semantic-release.outputs.tag }} charts/${{ github.event.repository.name }} - name: Run chart-releaser uses: helm/chart-releaser-action@v1.6.0 env: CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}" with: skip_packaging: 'true' - package-path: charts/${{ github.event.repository.name }} diff --git a/.github/workflows/pr-close.yml b/.github/workflows/pr-close.yml index 8c42ea7..9204761 100644 --- a/.github/workflows/pr-close.yml +++ b/.github/workflows/pr-close.yml @@ -5,8 +5,6 @@ on: types: [closed] paths-ignore: - '*.md' - - '.github/**' - - 'charts/**' concurrency: # PR open and close use the same group, allowing only one at a time