name: Release Helm charts on: push: branches: - main permissions: contents: write jobs: release: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 with: fetch-depth: 0 - name: Set up git config run: | git config --global user.name "github-actions[bot]" git config --global user.email "github-actions[bot]@users.noreply.github.com" - name: Run chart-releaser uses: helm/chart-releaser-action@v1.6.0 with: config: "./cr.yaml" charts_dir: "chart" env: CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"