Skip to content

Repository files navigation

CodeQLbuild-test

Diff Helm Chart

A Github action to diff a Helm chart.

Usage

Add the following step to your workflow:

- name: Diff Helm Chartuses: fivekoalas/diff-helm-chart@v1id: diffwith:
targetChartPath: ./target/chartscurrentChartPath: ./current/chartsvaluesPath: ./values.yamlcurrentValuesRepo: fivekoalas/diff-helm-charttargetValuesRepo: fivekoalas/diff-helm-chart # optional, defaults to currentValuesRepocurrentValuesBranch: main # optional, defaults to developtoken: ${{ secrets.GITHUB_TOKEN }} # required PAT for private repos, optional for public repos defaults to GITHUB_TOKENtargetBranchRegex: 'release-.*'# optional, defaults to 'target: (.*)'asMarkdown: true # optional, defaults to true
- name: 'Add PR Comment'uses: mshick/add-pr-comment@v2if: steps.diff.outputs.changed == 'true'with:
message: ${{ steps.diff.outputs.diff }}

License Summary

This code is made available under the MIT license.

About

A Github action to Diff helm chart

Topics

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Used by

Contributors

Languages