/helm-tar-update

A reusable GitHub Action Workflow to automatically fetch helm tarballs.

Apache License 2.0Apache-2.0

helm-tar-update

A reusable GitHub Action Workflow to automatically fetch helm tarballs.

Context

There exist multiple solutions for automatic version updates for helm. While this is great, there are cases where folks keep a copy of the release tarball. Either for caching optimization or to ensure that it stays available... Regardless of the reason, this re-usable workflow ensures that when a dependency update happens, a tarball is downloaded.

Usage

In your workflow, simply add the following:

name: Update Helm Tarball
on:
  pull_request:
    branches:
    - main

jobs:
  update-helm-deps-tarballs:
    uses: metal-toolbox/helm-tar-update/.github/workflows/helm-tar-update.yml@main

This will make sure that for any pull request that updates Helm dependencies, the tarball for those dependencies will be downloaded and commited to appropriate branch to come along the pull request.

Note that this will only happen if you keep a charts directory with your Helm chart.