From 37e3cdc8293d6c6f6039b5df117166bcec003592 Mon Sep 17 00:00:00 2001 From: aadhav-argonaut Date: Thu, 10 Aug 2023 16:48:41 +0530 Subject: [PATCH] fix: stop overwriting index.yaml in action --- .github/configs/cr.yaml | 6 ++++++ .github/workflows/helm-release.yml | 2 ++ 2 files changed, 8 insertions(+) create mode 100644 .github/configs/cr.yaml diff --git a/.github/configs/cr.yaml b/.github/configs/cr.yaml new file mode 100644 index 0000000..b313f36 --- /dev/null +++ b/.github/configs/cr.yaml @@ -0,0 +1,6 @@ +## Reference: https://github.com/helm/chart-releaser +index-path: "./index.yaml" + +# Enable automatic generation of release notes using GitHubs release notes generator. +# see: https://docs.github.com/en/repositories/releasing-projects-on-github/automatically-generated-release-notes +generate-release-notes: true \ No newline at end of file diff --git a/.github/workflows/helm-release.yml b/.github/workflows/helm-release.yml index fee0b41..ce9d77e 100644 --- a/.github/workflows/helm-release.yml +++ b/.github/workflows/helm-release.yml @@ -29,5 +29,7 @@ jobs: - name: Run chart-releaser uses: helm/chart-releaser-action@v1.5.0 + with: + config: "./.github/configs/cr.yaml" env: CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}" \ No newline at end of file