helmfile-action
  • TypeScript 96.5%
  • JavaScript 3.5%
Find a file
dependabot[bot] 113be50188
build(deps-dev): bump eslint-plugin-github from 6.1.0 to 6.1.1 (#742)
---
updated-dependencies:
- dependency-name: eslint-plugin-github
  dependency-version: 6.1.1
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-07-14 21:37:32 +08:00
.github build(deps): bump actions/checkout from 6 to 7 (#720) 2026-06-23 21:18:36 +08:00
__tests__ fix: resolve duplicate helm plugin conflict when auto-init is enabled (#726) 2026-06-23 21:12:25 +08:00
dist fix: resolve duplicate helm plugin conflict when auto-init is enabled (#726) 2026-06-23 21:12:25 +08:00
src fix: resolve duplicate helm plugin conflict when auto-init is enabled (#726) 2026-06-23 21:12:25 +08:00
.gitattributes Add action files (#1) 2023-04-05 20:24:12 +08:00
.gitignore Add action files (#1) 2023-04-05 20:24:12 +08:00
.npmrc build(deps-dev): bump typescript from 5.9.3 to 6.0.2 (#663) 2026-03-26 09:18:20 +08:00
.prettierignore Add action files (#1) 2023-04-05 20:24:12 +08:00
.prettierrc.js Update @actions packages to latest versions (ESM-only) (#637) 2026-02-02 08:37:48 +08:00
action.yaml Use node24 on runners (#662) 2026-03-21 08:36:43 +08:00
eslint.config.js Update @actions packages to latest versions (ESM-only) (#637) 2026-02-02 08:37:48 +08:00
jest.config.mjs build(deps-dev): bump typescript from 5.9.3 to 6.0.2 (#663) 2026-03-26 09:18:20 +08:00
LICENSE Initial commit 2022-12-04 09:51:24 +08:00
package-lock.json build(deps-dev): bump eslint-plugin-github from 6.1.0 to 6.1.1 (#742) 2026-07-14 21:37:32 +08:00
package.json build(deps-dev): bump eslint-plugin-github from 6.1.0 to 6.1.1 (#742) 2026-07-14 21:37:32 +08:00
README.md Update README.md to use latest version v2.2.0 (#638) 2026-02-02 08:42:23 +08:00
tsconfig.json build(deps-dev): bump typescript from 5.9.3 to 6.0.2 (#663) 2026-03-26 09:18:20 +08:00

helmfile-action

Setup Helmfile and Helm for use in GitHub Actions.

This action works on Linux, macOS and Windows

- uses: helmfile/helmfile-action@v2.2.0
  with:
    helmfile-args: apply

Optional Inputs

  • helmfile-args : helmfile arguments. Required.
  • helmfile-version : helmfile version. Default "latest".
  • helmfile-workdirectory : helmfile working directory. Default "."
  • helm-version : Helm version. Default "latest"
  • helm-plugins : Comma separated list of Helm plugins to install. Default https://github.com/databus23/helm-diff. Supports version pinning using @version suffix (e.g., https://github.com/databus23/helm-diff@v3.1.3).
  • helmfile-auto-init : Whether to run helmfile init before running helmfile command. Default "false"
  • helmfile-kubeconfig-context : Kubeconfig context. Default "", if not empty, it will be written to $HOME/.kube/config
  • helm-diff-color: Enable helm diff plugin color output. Default "true".

Example with optional inputs

- uses: helmfile/helmfile-action@v2.2.0
  with:
    helmfile-version: 'v0.150.0'
    helm-version: 'v3.11.0'
    helm-plugins: >
      https://github.com/databus23/helm-diff@v3.1.3,
      https://github.com/jkroepke/helm-secrets@v4.2.2
    helmfile-args: apply --environment prod
    helmfile-auto-init: 'false'

Outputs

  • exit-code : Exit code of helmfile. Useful to handle diff --detailed-exitcode.
  • helmfile-stdout : Standard output of helmfile command.
  • helmfile-stderr : Error output of helmfile command.

Build action (for maintainer)

$ npm install
$ npm run all

dist/* should be included in commit.