-
Notifications
You must be signed in to change notification settings - Fork 210
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ignore directories with missing Chart.yaml #18
Conversation
An example test run here: https://github.com/ccremer/charts/runs/531250478?check_suite_focus=true - name: Run chart-releaser
uses: ccremer/chart-releaser-action@ignore-dirs
env:
CR_TOKEN: "${{ secrets.CR_TOKEN }}"
with:
charts_dir: . Log:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This makes sense, thanks. I made a few comments.
Thanks for the review! I updated my commit. |
Prevents action fails when there are directories detected that do not contain charts. (e.g. .github) Signed-off-by: Chris <github.account@chrigel.net>
Added your suggestions. Looking up latest tag...
Discovering changed charts since 'znapzend-0.3.1'...
WARNING: .github/Chart.yaml is missing, assuming that '.github' is not a Helm chart. Skipping.
Installing chart-releaser...
Packaging chart 'znapzend'...
Successfully packaged chart and saved it to: .cr-release-packages/znapzend-0.3.1.tgz
Releasing charts... |
I added a fixes comment to the description above to automatically close related issue on PR merge |
Would be nice to have a with:
charts_dir: . ... this fails |
Prevents action fails when there are directories detected that do not contain charts (e.g.
.github
)as proposed in #12
feedback welcome
fixes #12