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

[Sweep GHA Fix] The GitHub Actions run failed with... #59

Conversation

sweep-ai[bot]
Copy link
Contributor

@sweep-ai sweep-ai bot commented Jan 5, 2024

Description

This pull request includes changes to the CODE_OF_CONDUCT.md, charts/openim-web/Chart.yaml, and docs/version.md files.

Summary

  • Added CODE_OF_CONDUCT.md file with the Contributor Covenant Code of Conduct.
  • Updated the version number in the charts/openim-web/Chart.yaml file from 0.1.1 to 0.1.2.
  • Added a new docs/version.md file explaining the version management system for OpenIM Helm Charts.

@sweep-ai sweep-ai bot requested review from cubxxw and a team as code owners January 5, 2024 12:50
@sweep-ai sweep-ai bot requested review from Bloomingg and skiffer-git and removed request for a team January 5, 2024 12:50
@pull-request-size pull-request-size bot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Jan 5, 2024
Copy link

github-actions bot commented Jan 5, 2024


Copy link
Contributor Author

sweep-ai bot commented Jan 5, 2024

Apply Sweep Rules to your PR?

  • Apply: All new business logic should have corresponding unit tests.
  • Apply: Refactor large functions to be more modular.
  • Apply: Add docstrings to all functions and file headers.

Copy link

github-actions bot commented Jan 5, 2024


Copy link
Contributor Author

sweep-ai bot commented Jan 5, 2024

Sweeping

Fixing PR: track the progress here.

I'm currently fixing this PR to address the following:

[Sweep GHA Fix] The GitHub Actions run failed with the following error logs:

The command:
Run ct lint --debug --config ./.github/configs/ct-lint.yaml --lint-conf ./.github/configs/lintconf.yaml
yielded the following error:
##[error]44:47 [new-line-at-end-of-file] no new line character at the end of file
##[endgroup]

Error: failed linting charts: failed processing charts

------------------------------------------------------------------------------------------------------------------------
 ✖︎ openim-web => (version: "0.1.2", path: "charts/openim-web") > failed waiting for process: exit status 1
------------------------------------------------------------------------------------------------------------------------
failed linting charts: failed processing charts
##[error]Process completed with exit code 1.

Here are the logs:
Linting charts...
>>> helm version --template {{ .Version }}
>>> git rev-parse --is-inside-work-tree
>>> git rev-parse --verify origin/main
>>> git merge-base origin/main HEAD
>>> git diff --find-renames --name-only 7062989eae678b5ee566de3a55bba64d45a31f24 -- charts

------------------------------------------------------------------------------------------------------------------------
Charts to be processed:
------------------------------------------------------------------------------------------------------------------------
openim-web => (version: "0.1.2", path: "charts/openim-web")
------------------------------------------------------------------------------------------------------------------------

>>> helm repo add dandydeveloper https://dandydeveloper.github.io/charts/
"dandydeveloper" has been added to your repositories
>>> helm dependency build charts/openim-web
Linting chart "openim-web => (version: \"0.1.2\", path: \"charts/openim-web\")"
Checking chart "openim-web => (version: \"0.1.2\", path: \"charts/openim-web\")" for a version bump...
>>> git cat-file -e origin/main:charts/openim-web/Chart.yaml
>>> git show origin/main:charts/openim-web/Chart.yaml
Old chart version: 0.1.1
New chart version: 0.1.2
Chart version ok.
>>> yamllint --config-file ./.github/configs/lintconf.yaml charts/openim-web/Chart.yaml
##[group]charts/openim-web/Chart.yaml

Created Pull Request: #60

@cubxxw cubxxw deleted the branch sweep/sweep_gha_fix_the_github_actions_run_fai_4 January 6, 2024 03:54
@cubxxw cubxxw closed this Jan 6, 2024
@cubxxw cubxxw deleted the sweep/sweep_gha_fix_the_github_actions_run_fai_5 branch January 6, 2024 03:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant