{"id":13819823,"url":"https://github.com/cresta/helm-autoupdate","last_synced_at":"2026-01-20T16:04:13.474Z","repository":{"id":63917876,"uuid":"525085321","full_name":"cresta/helm-autoupdate","owner":"cresta","description":"CLI/action to update helm versions in git repositories","archived":false,"fork":false,"pushed_at":"2026-01-15T19:09:23.000Z","size":503,"stargazers_count":10,"open_issues_count":10,"forks_count":1,"subscribers_count":20,"default_branch":"main","last_synced_at":"2026-01-15T21:46:29.025Z","etag":null,"topics":["flux2","gitops"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cresta.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2022-08-15T17:53:17.000Z","updated_at":"2025-04-16T11:49:44.000Z","dependencies_parsed_at":"2023-10-24T21:34:31.238Z","dependency_job_id":"6d3ab30a-ba08-44fd-9f07-b7942a5fd3ac","html_url":"https://github.com/cresta/helm-autoupdate","commit_stats":{"total_commits":76,"total_committers":4,"mean_commits":19.0,"dds":0.3421052631578947,"last_synced_commit":"c8ba0a31ff759f24fccacdf9a266df21ea60dd8e"},"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/cresta/helm-autoupdate","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cresta%2Fhelm-autoupdate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cresta%2Fhelm-autoupdate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cresta%2Fhelm-autoupdate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cresta%2Fhelm-autoupdate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cresta","download_url":"https://codeload.github.com/cresta/helm-autoupdate/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cresta%2Fhelm-autoupdate/sbom","scorecard":{"id":308475,"data":{"date":"2025-08-11","repo":{"name":"github.com/cresta/helm-autoupdate","commit":"0f0eff07f5baa061061a70fe1dccc3b8da71ecbb"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":4.2,"checks":[{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Code-Review","score":10,"reason":"all changesets reviewed","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/build.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build.yml:19: update your workflow using https://app.stepsecurity.io/secureworkflow/cresta/helm-autoupdate/build.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/build.yml:21: update your workflow using https://app.stepsecurity.io/secureworkflow/cresta/helm-autoupdate/build.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build.yml:23: update your workflow using https://app.stepsecurity.io/secureworkflow/cresta/helm-autoupdate/build.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/build.yml:27: update your workflow using https://app.stepsecurity.io/secureworkflow/cresta/helm-autoupdate/build.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/build.yml:37: update your workflow using https://app.stepsecurity.io/secureworkflow/cresta/helm-autoupdate/build.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/build.yml:44: update your workflow using https://app.stepsecurity.io/secureworkflow/cresta/helm-autoupdate/build.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/build.yml:53: update your workflow using https://app.stepsecurity.io/secureworkflow/cresta/helm-autoupdate/build.yml/main?enable=pin","Warn: containerImage not pinned by hash: Dockerfile:1","Info:   0 out of   2 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   5 third-party GitHubAction dependencies pinned","Info:   0 out of   1 containerImage dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: Apache License 2.0: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":4,"reason":"branch protection is not maximal on development and all release branches","details":["Info: 'allow deletion' disabled on branch 'main'","Info: 'force pushes' disabled on branch 'main'","Warn: 'branch protection settings apply to administrators' is disabled on branch 'main'","Warn: 'stale review dismissal' is disabled on branch 'main'","Warn: required approving review count is 1 on branch 'main'","Warn: codeowners review is not required on branch 'main'","Warn: 'last push approval' is disabled on branch 'main'","Warn: 'up-to-date branches' is disabled on branch 'main'","Info: status check found to merge onto on branch 'main'","Info: PRs are required in order to make changes on branch 'main'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Packaging","score":10,"reason":"packaging workflow detected","details":["Info: Project packages its releases by way of GitHub Actions.: .github/workflows/build.yml:14"],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Vulnerabilities","score":0,"reason":"14 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GO-2022-0635","Warn: Project is vulnerable to: GO-2022-0646","Warn: Project is vulnerable to: GO-2025-3528 / GHSA-265r-hfxg-fhmg","Warn: Project is vulnerable to: GO-2024-3005 / GHSA-v23v-6jw2-98fq","Warn: Project is vulnerable to: GO-2025-3829 / GHSA-4vq8-7jfc-9cvp","Warn: Project is vulnerable to: GO-2024-3321 / GHSA-v778-237x-gjrc","Warn: Project is vulnerable to: GO-2025-3487 / GHSA-hcg3-q754-cr77","Warn: Project is vulnerable to: GO-2024-3333","Warn: Project is vulnerable to: GO-2025-3503 / GHSA-qxp5-gwg8-xv66","Warn: Project is vulnerable to: GO-2025-3595 / GHSA-vvgc-356p-c3xw","Warn: Project is vulnerable to: GO-2025-3488 / GHSA-6v2p-p543-phr9","Warn: Project is vulnerable to: GO-2025-3601 / GHSA-4hfp-h4cw-hj8p","Warn: Project is vulnerable to: GO-2025-3602 / GHSA-5xqw-8hwv-wg92","Warn: Project is vulnerable to: GO-2025-3802 / GHSA-557j-xg8c-q2mm"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 30 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-17T22:40:17.795Z","repository_id":63917876,"created_at":"2025-08-17T22:40:17.795Z","updated_at":"2025-08-17T22:40:17.795Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28580391,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-19T18:29:59.827Z","status":"ssl_error","status_checked_at":"2026-01-19T18:29:40.878Z","response_time":67,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["flux2","gitops"],"created_at":"2024-08-04T08:00:53.510Z","updated_at":"2026-01-20T16:04:13.445Z","avatar_url":"https://github.com/cresta.png","language":"Go","funding_links":[],"categories":["others"],"sub_categories":[],"readme":"# helm-autoupdate\n\nCLI/action to update helm versions in git repositories\n\n# Motivation\n\nYou start with a helm release object\n```yaml\napiVersion: helm.toolkit.fluxcd.io/v2beta1\nkind: HelmRelease\nmetadata:\n  name: aws-vpc-cni\nspec:\n  chart:\n    spec:\n      chart: aws-vpc-cni\n      sourceRef:\n        kind: HelmRepository\n        name: aws\n      version: 0.0.1\n  interval: 1m0s\n  timeout: 10\n  values:\n    replicaCount: 1\n```\n\nThis is fine, but how do you know when to update the helm release to a newer version?  One option is to use `*` like this\n```yaml\n      sourceRef:\n        kind: HelmRepository\n        name: aws\n      version: \"*\"\n```\n\nBut in this case, you don't have any git tracking of what version was released.  What you really want is some automation\nthat will bump the `version` field when a new helm chart is released.  This is what `helm-autoupdate` is for.\n\n# Usage\n\nFirst, add a file named `.helm-autoupdate.yaml` in the root of your repository.  Add a `chart` item for each chart you want to update.\nThe field \"filename_regex\" is an optional list of whitelisted filenames.  If you don't specify it, all files will be considered.\n\n```yaml\ncharts:\n- chart:\n    name: aws-vpc-cni\n    repository: https://aws.github.io/eks-charts\n    version: \"*\"\n  identity: aws-vpc-cni\nfilename_regex:\n- .*\\.yaml\n```\n\nNext, change the `version` line to include the YAML comment `# helm:autoupdate:\u003cIDENTITY\u003e` where `\u003cIDENTITY\u003e` is the value\nof the `charts[].identity` field.  For example, the original file now becomes\n\n```yaml\napiVersion: helm.toolkit.fluxcd.io/v2beta1\nkind: HelmRelease\nmetadata:\n  name: aws-vpc-cni\nspec:\n  chart:\n    spec:\n      chart: aws-vpc-cni\n      sourceRef:\n        kind: HelmRepository\n        name: aws\n      version: 0.0.1 # helm:autoupdate:aws-vpc-cni\n  interval: 1m0s\n  timeout: 10m\n  values:\n    replicaCount: 1\n```\n\nNext, triger a run of `helm-autoupdate`.  One way is to compile and run the binary with `go run`.  For example\n\n```bash\ncd /tmp\ngit clone git@github.com:cresta/helm-autoupdate.git\ngo build ./cmd/helm-autoupdate\ncd -\n/tmp/helm-autoupdate\n```\n\nIf you're using GitHub actions, a more reasonable way is to trigger the update as a workflow.  An example workflow is\nbelow.  This will trigger on a manual execution of the workflow, as well as daily at midnight.\n\n```yaml\nname: Force a helm update\non:\n  workflow_dispatch:\n  schedule:\n    - cron: \"0 0 * * *\"\njobs:\n  plantrigger:\n    runs-on: ubuntu-latest\n    name: Force helm update\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v2\n      - name: update helm\n        uses: cresta/helm-autoupdate@v1.6\n      - name: Create PR with changes\n        uses: peter-evans/create-pull-request@v3\n        id: cpr\n        with:\n          branch: helm-updates\n          delete-branch: true\n          title: \"Force helm updates\"\n          labels: forced-workflow\n          committer: Forced updates \u003cnoreply@noreply.com\u003e\n          body: \"Updated helm versions\"\n          commit-message: \"Updates helm versions\"\n\n```\n\nYou can combine this with GitHub's auto-merge feature and status checks to complete the auto merge.\n\n# Supported helm backends\n\nThis project comes with support for HTTPS, OCI, and [S3](./internal/helm/s3.go) backends.\n\n# Our personal GitHub actions workflows\n\nThe workflow we use is the one below, which creates a pull request using a GitHub Application's token and enables auto\nmerge on the pull request.  Each step is documented\n\n```yaml\nname: Auto update helm files\non:\n  # Allow other workflows, which build helm charts, to trigger this workflow as a push event on new chart pushes\n  workflow_dispatch:\n  # Catch up daily\n  schedule:\n    - cron: \"0 0 * * *\"\njobs:\n  plantrigger:\n    runs-on: ubuntu-latest\n    name: Force update of helm versions\n    steps:\n      # Use a github application for our token.  You'll need to make the application and public a private key PEM as a secret\n      - name: Generate token\n        id: generate_token\n        uses: peter-murray/workflow-application-token-action@v1\n        with:\n          application_id: ${{ secrets.APP_ID }}\n          application_private_key: ${{ secrets.APP_PEM }}\n      - name: Checkout\n        uses: actions/checkout@v2\n      # We use S3, so also configure AWS credentials to read the S3 bucket\n      - name: Configure AWS Credentials\n        uses: aws-actions/configure-aws-credentials@v1\n        with:\n          aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}\n          aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}\n          aws-region: us-west-2\n          role-duration-seconds: 1200\n      # Do the helm updates\n      - name: update helm\n        uses: cresta/helm-autoupdate@v1.7\n      # Only make a PR if there are changes\n      - name: check for changes\n        id: changes\n        run: |\n          if [[ `git status --porcelain` ]]; then\n            echo '::set-output name=CHANGES::true'\n          else\n            echo '::set-output name=CHANGES::false'\n          fi\n      # Create the pull request (notice the if statement)\n      - name: Create PR to flux2 repo\n        uses: peter-evans/create-pull-request@v3\n        id: cpr\n        if: steps.changes.outputs.CHANGES == 'true'\n        with:\n          token: ${{ steps.generate_token.outputs.token }}\n          branch: helm-autoupdate\n          delete-branch: true\n          title: \"Forced helm auto update\"\n          labels: forced-workflow\n          committer: Forced Replan \u003cnoreply@cresta.ai\u003e\n          body: \"A forced auto update of helm versions\"\n          commit-message: \"A forced auto update of helm versions\"\n      # Enable auto merge on the PR.  This part requires the generated token above\n      - name: Enable Pull Request Auto Merge\n        if: steps.cpr.outputs.pull-request-operation == 'created'\n        uses: peter-evans/enable-pull-request-automerge@v2\n        with:\n          token: ${{ steps.generate_token.outputs.token }}\n          pull-request-number: ${{ steps.cpr.outputs.pull-request-number }}\n          merge-method: squash\n```\n\nThis workflow allows itself to be triggered by other workflows.  In the repositories that create helm charts, they will\nrun an action like this.\n\n```yaml\nname: Build Project\n\non: push\n\njobs:\n  build:\n    name: Build\n    runs-on: ubuntu-latest\n    steps:\n      - name: Check out code\n        uses: actions/checkout@v2\n      # Setup AWS for chart upload\n      - name: Configure AWS Credentials\n        uses: aws-actions/configure-aws-credentials@v1\n        with:\n          aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}\n          aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}\n          aws-region: us-west-2\n      # Build charts on every push\n      - name: Build charts\n        run: ./make.sh github_actions_lint_build_charts\n      # Only upload charts on the master branch\n      - name: Build and Push charts\n        if: github.ref == 'refs/heads/master'\n        run: ./make.sh github_actions_upload_charts\n      # Trigger an automatic update for helm versions\n      - name: Tell helm auto update there may be a new helm version\n        if: github.ref == 'refs/heads/master'\n        run: gh -R cresta/flux2 workflow run helm-autoupdate.yml\n        env:\n          # Note: there are some bugs with application GH tokens that don't allow them\n          #       to dispatch workflows :(\n          # You need to use your personal token here\n          GH_TOKEN: ${{ secrets.GITHUB_PAT }}\n\n```\n\n# Example\n\nFor a simple example, see the workflow file in [helm-autoupdate-testing](https://github.com/cresta/helm-autoupdate-testing/blob/main/.github/workflows/update-helm-versions.yaml).  You can see a created PR [here](https://github.com/cresta/helm-autoupdate-testing/pull/2).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcresta%2Fhelm-autoupdate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcresta%2Fhelm-autoupdate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcresta%2Fhelm-autoupdate/lists"}