-
Notifications
You must be signed in to change notification settings - Fork 97
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
fix(workflow): move chart release workflow and fix fetch-depth bug #326
Conversation
…ch-depth bug - Moved the Helm chart release steps from release.yml to a new chart-release.yml workflow for better separation of concerns. - Fixed a bug where the chart-releaser-action wouldn't find changes by adding fetch-depth: 0 in the checkout step.
Codecov ReportAll modified and coverable lines are covered by tests ✅
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. Additional details and impacted files@@ Coverage Diff @@
## main #326 +/- ##
=======================================
Coverage 42.01% 42.01%
=======================================
Files 61 61
Lines 3175 3175
=======================================
Hits 1334 1334
Misses 1633 1633
Partials 208 208 ☔ View full report in Codecov by Sentry. |
.github/workflows/chart-release.yml
Outdated
- name: Install Helm | ||
uses: azure/setup-helm@v4 | ||
env: | ||
GITHUB_TOKEN: "${{ secrets.RELEASE_GITHUB_TOKEN }}" |
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.
Do we need the token for install helm?
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.
Good catch! The token is no longer needed. It was previously required to fetch the latest version, but that's not the case anymore.
Azure/setup-helm#130.
@Yuni-sa I added a comment. |
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
What this PR does / why we need it?
PR Checklist
GitHub Issue
Closes #325
Notes for your reviewers
release.yml
tochart-release.yml
for better separation of concerns and to avoid slowing down the main CI process withfetch-depth: 0
.