From 14362328918a9a6d2c1c2aa1ede86503ee5b84ad Mon Sep 17 00:00:00 2001 From: mrjoelkamp Date: Mon, 1 Jul 2024 15:57:08 -0500 Subject: [PATCH 1/2] feat: add helm release workflow --- .github/workflows/helm-release.yaml | 31 +++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 .github/workflows/helm-release.yaml diff --git a/.github/workflows/helm-release.yaml b/.github/workflows/helm-release.yaml new file mode 100644 index 0000000..b68baa7 --- /dev/null +++ b/.github/workflows/helm-release.yaml @@ -0,0 +1,31 @@ +name: Helm Release +on: + push: + branches: + - main + pull_request: #test +jobs: + chart: + name: Release Chart + runs-on: ubuntu-latest + permissions: + contents: write # needed to write releases + steps: + - name: Checkout master + uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 + with: + # Fetch entire history. Required for chart-releaser; see https://github.com/helm/chart-releaser-action/issues/13#issuecomment-602063896 + fetch-depth: 0 + - name: Configure Git + run: | + git config user.name "$GITHUB_ACTOR" + git config user.email "$GITHUB_ACTOR@users.noreply.github.com" + - name: Install Helm + uses: azure/setup-helm@fe7b79cd5ee1e45176fcad797de68ecaf3ca4814 # v4.2.0 + env: + GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}" + - name: Helm Chart Releaser + uses: helm/chart-releaser-action@a917fd15b20e8b64b94d9158ad54cd6345335584 # v1.6.0 + env: + CR_SKIP_EXISTING: true + CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}" From 1617823dee616f09cbf1c10ffb290cba68d5d888 Mon Sep 17 00:00:00 2001 From: mrjoelkamp Date: Mon, 1 Jul 2024 16:05:28 -0500 Subject: [PATCH 2/2] revert: test trigger --- .github/workflows/helm-release.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/helm-release.yaml b/.github/workflows/helm-release.yaml index b68baa7..fd6e2cb 100644 --- a/.github/workflows/helm-release.yaml +++ b/.github/workflows/helm-release.yaml @@ -3,7 +3,6 @@ on: push: branches: - main - pull_request: #test jobs: chart: name: Release Chart