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

Fixing checkout action of helm chart release GHA #28

Merged
merged 1 commit into from
May 1, 2024
Merged

Conversation

mitali-salvi
Copy link
Contributor

See helm/chart-releaser-action#13 and helm/chart-releaser-action#36

Description of changes:
Helm chart releaser action was unable to release the helm chart because it could not detect any changes in git history, this is because git rev-list --max-parents=0 --first-parent HEAD is expecting the full git history for the branch. So anyone using the checkout action will have this issue.
Also the releaser action has example here https://github.com/helm/charts-repo-actions-demo/blob/main/.github/workflows/release.yaml

  1. Added full-depth: 0 to pull in entire git history
(24-04-26 21:03:52) <0> [~]  
dev-dsk-mitsalvi-2b-dd18fa62 % helm search repo aws-observability
NAME                                             	CHART VERSION	APP VERSION	DESCRIPTION                                     
aws-observability/amazon-cloudwatch-observability	1.5.4        	1.0.0      	A Helm chart for Amazon CloudWatch Observability

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@mitali-salvi mitali-salvi self-assigned this Apr 26, 2024
@mitali-salvi mitali-salvi requested review from lisguo and movence April 26, 2024 21:16
@mitali-salvi mitali-salvi changed the title [WIP] Fixing checkout action of GHA Fixing checkout action of GHA May 1, 2024
@mitali-salvi mitali-salvi changed the title Fixing checkout action of GHA Fixing checkout action of helm chart release GHA May 1, 2024
@mitali-salvi mitali-salvi merged commit 78d4b09 into main May 1, 2024
3 checks passed
@mitali-salvi mitali-salvi deleted the gha-testing branch May 1, 2024 18:13
mitali-salvi added a commit that referenced this pull request May 8, 2024
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.

4 participants