helm / chart-releaser-action

A GitHub Action to turn a GitHub project into a self-hosted Helm chart repo, using helm/chart-releaser CLI tool
https://github.com/helm/chart-releaser
Apache License 2.0
543 stars 199 forks source link

Ignore change of directories or files in chart directory #139

Open zhan9san opened 1 year ago

zhan9san commented 1 year ago

Hi,

Thanks for your great work in this action.

Would it be possibe to ignore change of directories or files in chart directory?

https://github.com/helm/chart-releaser-action/blob/db5211eb38c65dcd18cbb57e987df03fce2a40f9/cr.sh#L257-L258

Generally, there are README.md, .helmignore in chart directory. If we update them, we don't need to release a new version.

We can define an environment CR_SKIP_EXISTING as a workaround.

Here is an example, https://github.com/prometheus-msteams/prometheus-msteams/pull/320