-
Notifications
You must be signed in to change notification settings - Fork 543
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
feat: switch doc generation to use helm-docs and add a workflow to auto bump the chart version on pr approval #114
base: master
Are you sure you want to change the base?
Conversation
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.
LGTM 👍
…to bump the chart version on pr approval
e611226
to
163eaef
Compare
name: Bump Version and Generate Docs | ||
on: | ||
pull_request_review: | ||
types: [submitted] |
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.
maybe filter by PRs targetting main
or repo's default branch?
Also, dunno how I feel running this on the PR vs on commits to main
- IMO the latter would prevent any churn on the PR branch and might reduce any risks with commits
The inital commits here do not include the new generated version of the chart README to show its generation after the GH approval.
This workflow will update the chart version automatically after receiving an approval from from one of the maintainers. The version will be selected based on the presence of one of the
chart: patch
,chart: minor
, orchart:major
labels on the PR.Then the chart documentation will be re generated and committed back to the source branch.
Note: the chart testing linter is expected to fail until after the action is run to bump the chart version