Skip to content
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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

Yuni-sa
Copy link
Contributor

@Yuni-sa Yuni-sa commented Jun 27, 2024

What this PR does / why we need it?

  • 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.

PR Checklist

  • This PR adds K8s exceptions (false positives)
  • This PR adds new code
  • This PR includes tests for new/existing code
  • This PR adds docs
  • This PR changes the project workflow

GitHub Issue

Closes #325

Notes for your reviewers

  • Moved the Helm chart release steps from release.yml to chart-release.yml for better separation of concerns and to avoid slowing down the main CI process with fetch-depth: 0.

…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-commenter
Copy link

codecov-commenter commented Jun 27, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 42.01%. Comparing base (181141d) to head (ba802cd).

❗ 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.
📢 Have feedback on the report? Share it here.

- name: Install Helm
uses: azure/setup-helm@v4
env:
GITHUB_TOKEN: "${{ secrets.RELEASE_GITHUB_TOKEN }}"
Copy link
Owner

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

bug(workflow): chart releaser failed to release new chart
3 participants