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 GitHub Actions Failure Due to Missing go-gitlint Tool #139

Closed
wants to merge 2 commits into from

Conversation

sweep-ai[bot]
Copy link
Contributor

@sweep-ai sweep-ai bot commented Dec 29, 2023

PR Feedback (click)

  • 👍 Sweep Did Well
  • 👎 Sweep Needs Improvement
    I created this PR to fix the failing GitHub Actions.## Description
    This PR addresses the issue of GitHub Actions failing due to the go-gitlint tool not being found. The changes involve modifying the commit-msg script in the githooks directory to check if the go-gitlint tool exists before trying to run it. If it doesn't exist, the script attempts to install it using the appropriate command.

Additionally, the GitHub Actions workflow has been modified to ensure that the go-gitlint tool is properly installed and configured before the commit-msg script is run. Error handling has been added to this step to ensure that the workflow fails gracefully if the go-gitlint tool cannot be installed.

Summary of Changes

  • Modified the commit-msg script to check for the existence of the go-gitlint tool before trying to run it. If it doesn't exist, the script attempts to install it.
  • Modified the GitHub Actions workflow to install and configure the go-gitlint tool before running the commit-msg script.
  • Added error handling to the GitHub Actions workflow to handle cases where the go-gitlint tool cannot be installed.

These changes should prevent the GitHub Actions run from failing due to the go-gitlint tool not being found.

@sweep-ai sweep-ai bot requested review from cubxxw and kubbot as code owners December 29, 2023 18:18
Copy link
Contributor Author

sweep-ai bot commented Dec 29, 2023

Rollback Files For Sweep

  • Rollback changes to scripts/githooks/commit-msg
  • Rollback changes to scripts/githooks/commit-msg
  • Rollback changes to .github/workflows/main.yml
  • Rollback changes to .github/workflows/main.yml

@sweep-ai sweep-ai bot added the sweep label Dec 29, 2023
Copy link
Contributor Author

sweep-ai bot commented Dec 29, 2023

Sandbox Executions

  • Running GitHub Actions for scripts/githooks/commit-msg
Check scripts/githooks/commit-msg with contents:

Ran GitHub Actions for 5a85b33c0dc342c3d99fb938eac086d7bdb3642e:
• OpenCommit:
• build:
• build-and-push:
• check:
• test:
• check_typos:
• Test:
• build:
• build:
• Invite users to join our group:
• assign-issue:
• CLAAssistant:
• build:
• gpt_translate:
• gpt_translate:
• CLAAssistant:
• Invite users to join our group:
• assign-issue:
• build:
• Invite users to join our group:
• gpt_translate:
• build:
• CLAAssistant:
• assign-issue:
• Invite users to join our group:
• assign-issue:
• CLAAssistant:
• build:
• gpt_translate:
• assign-issue:
• build:
• CLAAssistant:
• Invite users to join our group:
• gpt_translate:
• Invite users to join our group:
• gpt_translate:
• build:
• CLAAssistant:
• assign-issue:
• build:
• gpt_translate:
• CLAAssistant:
• assign-issue:
• Invite users to join our group:
• gpt_translate:
• CLAAssistant:
• Invite users to join our group:
• assign-issue:
• build:
• Invite users to join our group:
• assign-issue:
• CLAAssistant:
• gpt_translate:
• build:
• Invite users to join our group:
• CLAAssistant:
• assign-issue:
• build:
• gpt_translate:
• Invite users to join our group:
• assign-issue:
• gpt_translate:
• build:
• CLAAssistant:
• build:
• assign-issue:
• Invite users to join our group:
• gpt_translate:
• CLAAssistant:
• gpt_translate:
• CLAAssistant:
• assign-issue:
• build:
• Invite users to join our group:
• build:
• OpenCommit:
• Test:
• build-and-push:
• check:
• test:
• check_typos:
• build:
• build:
• build:
• build:
• Invite users to join our group:
• assign-issue:
• CLAAssistant:
• gpt_translate:
• build:
• Invite users to join our group:
• assign-issue:
• CLAAssistant:
• gpt_translate:
• build:
• assign-issue:
• CLAAssistant:
• gpt_translate:
• build:
• Invite users to join our group:
• assign-issue:
• Invite users to join our group:
• build:
• CLAAssistant:
• gpt_translate:
• assign-issue:
• build:
• gpt_translate:
• Invite users to join our group:
• CLAAssistant:
• gpt_translate:
• Invite users to join our group:
• CLAAssistant:
• build:
• assign-issue:
• Invite users to join our group:
• assign-issue:
• CLAAssistant:
• build:
• gpt_translate:
• assign-issue:
• gpt_translate:
• Invite users to join our group:
• build:
• CLAAssistant:
• CLAAssistant:
• build:
• assign-issue:
• Invite users to join our group:
• gpt_translate:
• Invite users to join our group:
• build:
• CLAAssistant:
• assign-issue:
• gpt_translate:
• Invite users to join our group:
• gpt_translate:
• build:
• assign-issue:
• CLAAssistant:
• Invite users to join our group:
• gpt_translate:
• assign-issue:
• build:
• CLAAssistant:
• Invite users to join our group:
• assign-issue:
• gpt_translate:
• CLAAssistant:
• build:
• Invite users to join our group:
• CLAAssistant:
• build:
• assign-issue:
• gpt_translate:
• Invite users to join our group:
• gpt_translate:
• assign-issue:
• CLAAssistant:
• build:
• gpt_translate:
• build:
• CLAAssistant:
• assign-issue:
• Invite users to join our group:
• Invite users to join our group:
• build:
• assign-issue:
• CLAAssistant:
• gpt_translate:
• Invite users to join our group:
• assign-issue:
• build:
• gpt_translate:
• CLAAssistant:
• assign-issue:
• Invite users to join our group:
• gpt_translate:
• CLAAssistant:
• build:
• Invite users to join our group:
• build:
• gpt_translate:
• assign-issue:
• CLAAssistant:
• OpenCommit:
• check_typos:
• test:
• build-and-push:
• build:
• Test:
• check:
• build:
• build:
• gpt_translate:
• assign-issue:
• Invite users to join our group:
• Invite users to join our group:
• assign-issue:
• CLAAssistant:
• build:
• gpt_translate:
• build:
• CLAAssistant:
• gpt_translate:
• CLAAssistant:
• assign-issue:
• build:
• Invite users to join our group:
• CLAAssistant:
• Invite users to join our group:
• build:
• gpt_translate:
• assign-issue:
• Invite users to join our group:
• gpt_translate:
• assign-issue:
• CLAAssistant:
• build:
• assign-issue:
• CLAAssistant:
• build:
• Invite users to join our group:
• gpt_translate:
• build:
• assign-issue:
• Invite users to join our group:
• gpt_translate:
• CLAAssistant:
• Invite users to join our group:
• assign-issue:
• build:
• CLAAssistant:
• gpt_translate:
• assign-issue:
• Invite users to join our group:
• build:
• CLAAssistant:
• gpt_translate:
• Invite users to join our group:
• gpt_translate:
• assign-issue:
• CLAAssistant:
• build:
• Invite users to join our group:
• gpt_translate:
• build:
• CLAAssistant:
• assign-issue:
• CLAAssistant:
• Invite users to join our group:
• assign-issue:
• build:
• gpt_translate:
• Invite users to join our group:
• assign-issue:
• gpt_translate:
• build:
• CLAAssistant:
• build:
• OpenCommit:
• build-and-push:
• check:
• test:
• check_typos:
• Test:
• build:
• build:
• stale:
• build:
• build-and-push:
• build:
• build:
• build:
• build:
• build:
• build:
• gpt_translate:
• build:
• assign-issue:
• Invite users to join our group:
• CLAAssistant:
• build:
• assign-issue:
• gpt_translate:
• CLAAssistant:
• Invite users to join our group:
• gpt_translate:
• Invite users to join our group:
• CLAAssistant:
• assign-issue:
• build:
• gpt_translate:
• Invite users to join our group:
• build:
• CLAAssistant:
• assign-issue:
• Invite users to join our group:
• CLAAssistant:
• assign-issue:
• gpt_translate:
• build:
• CLAAssistant:
• gpt_translate:
• Invite users to join our group:
• assign-issue:
• build:
• Invite users to join our group:
• assign-issue:
• gpt_translate:
• build:
• CLAAssistant:
• gpt_translate:
• Invite users to join our group:
• assign-issue:
• CLAAssistant:
• build:
• assign-issue:
• build:
• Invite users to join our group:
• CLAAssistant:
• gpt_translate:
• assign-issue:
• CLAAssistant:
• Invite users to join our group:
• gpt_translate:
• build:
• Invite users to join our group:
• CLAAssistant:
• assign-issue:
• gpt_translate:
• build:
• assign-issue:
• gpt_translate:
• CLAAssistant:
• Invite users to join our group:
• build:
• CLAAssistant:
• build:
• gpt_translate:
• Invite users to join our group:
• assign-issue:
• Invite users to join our group:
• CLAAssistant:
• build:
• assign-issue:
• gpt_translate:
• Invite users to join our group:
• assign-issue:
• CLAAssistant:
• gpt_translate:
• build:
• build:
• check_typos:
• OpenCommit:
• check:
• build-and-push:
• Test:
• test:
• build:
• build:
• build:
• build:
• build:
• Invite users to join our group:
• build:
• CLAAssistant:
• gpt_translate:
• assign-issue:
• gpt_translate:
• Invite users to join our group:
• build:
• CLAAssistant:
• assign-issue:
• assign-issue:
• build:
• Invite users to join our group:
• CLAAssistant:
• gpt_translate:
• gpt_translate:
• CLAAssistant:
• build:
• assign-issue:
• Invite users to join our group:
• build:
• gpt_translate:
• assign-issue:
• Invite users to join our group:
• CLAAssistant:
• build:
• assign-issue:
• CLAAssistant:
• Invite users to join our group:
• gpt_translate:
• build-and-push:
• test:
• OpenCommit:
• Test:
• build:
• check:
• check_typos:
• build:
• build:
• build:
• Invite users to join our group:
• CLAAssistant:
• assign-issue:
• gpt_translate:
• CLAAssistant:
• Invite users to join our group:
• assign-issue:
• build:
• gpt_translate:
• build:
• Invite users to join our group:
• assign-issue:
• CLAAssistant:
• gpt_translate:
• Invite users to join our group:
• gpt_translate:
• CLAAssistant:
• assign-issue:
• build:
• build:
• CLAAssistant:
• assign-issue:
• Invite users to join our group:
• gpt_translate:
• CLAAssistant:
• build:
• Invite users to join our group:
• assign-issue:
• gpt_translate:
• assign-issue:
• gpt_translate:
• Invite users to join our group:
• CLAAssistant:
• build:
• CLAAssistant:
• assign-issue:
• gpt_translate:
• Invite users to join our group:
• build:
• gpt_translate:
• Invite users to join our group:
• CLAAssistant:
• build:
• assign-issue:
• build:
• build-and-push:
• OpenCommit:
• Test:
• check:
• check_typos:
• test:
• build:
• Invite users to join our group:
• CLAAssistant:
• assign-issue:
• gpt_translate:
• build:
• assign-issue:
• Invite users to join our group:
• gpt_translate:
• build:
• CLAAssistant:
• gpt_translate:
• assign-issue:
• CLAAssistant:
• Invite users to join our group:
• build:
• Invite users to join our group:
• build:
• gpt_translate:
• assign-issue:
• CLAAssistant:
• Invite users to join our group:
• assign-issue:
• build:
• CLAAssistant:
• gpt_translate:
• Invite users to join our group:
• CLAAssistant:
• build:
• assign-issue:
• gpt_translate:
• assign-issue:
• gpt_translate:
• Invite users to join our group:
• build:
• CLAAssistant:
• assign-issue:
• Invite users to join our group:
• build:
• gpt_translate:
• CLAAssistant:
• build:
• CLAAssistant:
• Invite users to join our group:
• gpt_translate:
• assign-issue:
• build-and-push:
• OpenCommit:
• build:
• check:
• Test:
• test:
• check_typos:
• Invite users to join our group:
• assign-issue:
• CLAAssistant:
• gpt_translate:
• build:
• Invite users to join our group:
• assign-issue:
• gpt_translate:
• CLAAssistant:
• build:
• assign-issue:
• CLAAssistant:
• build:
• gpt_translate:
• Invite users to join our group:
• Invite users to join our group:
• gpt_translate:
• build:
• CLAAssistant:
• assign-issue:
• assign-issue:
• CLAAssistant:
• gpt_translate:
• Invite users to join our group:
• build:
• CLAAssistant:
• Invite users to join our group:
• gpt_translate:
• assign-issue:
• build:
• Invite users to join our group:
• gpt_translate:
• assign-issue:
• CLAAssistant:
• build:
• build:
• assign-issue:
• CLAAssistant:
• gpt_translate:
• Invite users to join our group:
• OpenCommit:
• Test:
• build:
• test:
• check_typos:
• build-and-push:
• check:
• build:
• CLAAssistant:
• build:
• Invite users to join our group:
• assign-issue:
• gpt_translate:
• Invite users to join our group:
• assign-issue:
• CLAAssistant:
• gpt_translate:
• build:
• assign-issue:
• CLAAssistant:
• gpt_translate:
• build:
• Invite users to join our group:
• assign-issue:
• Invite users to join our group:
• build:
• gpt_translate:
• CLAAssistant:
• CLAAssistant:
• assign-issue:
• gpt_translate:
• build:
• Invite users to join our group:
• build:
• Invite users to join our group:
• assign-issue:
• gpt_translate:
• CLAAssistant:
• OpenCommit:
• build:
• test:
• build-and-push:
• Test:
• check:
• check_typos:
• build:
• assign-issue:
• build:
• Invite users to join our group:
• gpt_translate:
• CLAAssistant:
• assign-issue:
• CLAAssistant:
• Invite users to join our group:
• gpt_translate:
• build:
• build:
• assign-issue:
• CLAAssistant:
• gpt_translate:
• Invite users to join our group:
• Invite users to join our group:
• build:
• assign-issue:
• gpt_translate:
• CLAAssistant:
• build:
• assign-issue:
• gpt_translate:
• CLAAssistant:
• Invite users to join our group:
• Invite users to join our group:
• assign-issue:
• gpt_translate:
• CLAAssistant:
• build:
• assign-issue:
• gpt_translate:
• CLAAssistant:
• build:
• Invite users to join our group:
• OpenCommit:
• build:
• test:
• check_typos:
• Test:
• check:
• build-and-push:
• build:
• build:
• assign-issue:
• CLAAssistant:
• gpt_translate:
• Invite users to join our group:
• Invite users to join our group:
• gpt_translate:
• assign-issue:
• build:
• CLAAssistant:
• assign-issue:
• build:
• Invite users to join our group:
• CLAAssistant:
• gpt_translate:
• Invite users to join our group:
• gpt_translate:
• CLAAssistant:
• assign-issue:
• build:
• Invite users to join our group:
• build:
• CLAAssistant:
• gpt_translate:
• assign-issue:
• assign-issue:
• Invite users to join our group:
• gpt_translate:
• CLAAssistant:
• build:
• assign-issue:
• Invite users to join our group:
• CLAAssistant:
• gpt_translate:
• build:
• assign-issue:
• Invite users to join our group:
• gpt_translate:
• build:
• CLAAssistant:
• assign-issue:
• CLAAssistant:
• Invite users to join our group:
• gpt_translate:
• build:
• build:
• CLAAssistant:
• Invite users to join our group:
• assign-issue:
• gpt_translate:
• gpt_translate:
• assign-issue:
• Invite users to join our group:
• build:
• CLAAssistant:
• build:
• Test:
• build-and-push:
• check_typos:
• check:
• test:
• OpenCommit:
• build:
• CLAAssistant:
• gpt_translate:
• assign-issue:
• build:
• Invite users to join our group:
• Invite users to join our group:
• build:
• CLAAssistant:
• gpt_translate:
• assign-issue:
• build:
• assign-issue:
• Invite users to join our group:
• CLAAssistant:
• gpt_translate:
• CLAAssistant:
• assign-issue:
• Invite users to join our group:
• gpt_translate:
• build:
• assign-issue:
• CLAAssistant:
• Invite users to join our group:
• build:
• gpt_translate:
• assign-issue:
• build:
• Invite users to join our group:
• CLAAssistant:
• gpt_translate:
• assign-issue:
• gpt_translate:
• build:
• Invite users to join our group:
• CLAAssistant:
• Invite users to join our group:
• assign-issue:
• gpt_translate:
• build:
• CLAAssistant:
• gpt_translate:
• build:
• Invite users to join our group:
• CLAAssistant:
• assign-issue:
• assign-issue:
• Invite users to join our group:
• CLAAssistant:
• build:
• gpt_translate:
• OpenCommit:
• build-and-push:
• check_typos:
• build:
• test:
• Test:
• check:
• build:
• gpt_translate:
• CLAAssistant:
• Invite users to join our group:
• build:
• assign-issue:
• assign-issue:
• Invite users to join our group:
• CLAAssistant:
• gpt_translate:
• build:
• assign-issue:
• CLAAssistant:
• Invite users to join our group:
• gpt_translate:
• build:
• Invite users to join our group:
• assign-issue:
• gpt_translate:
• build:
• CLAAssistant:
• build:
• assign-issue:
• CLAAssistant:
• gpt_translate:
• Invite users to join our group:
• gpt_translate:
• assign-issue:
• Invite users to join our group:
• CLAAssistant:
• build:
• Invite users to join our group:
• build:
• CLAAssistant:
• gpt_translate:
• assign-issue:
• assign-issue:
• Invite users to join our group:
• CLAAssistant:
• build:
• gpt_translate:
• Invite users to join our group:
• gpt_translate:
• assign-issue:
• build:
• CLAAssistant:
• assign-issue:
• Invite users to join our group:
• CLAAssistant:
• gpt_translate:
• build:
• CLAAssistant:
• gpt_translate:
• Invite users to join our group:
• build:
• assign-issue:
• build:
• gpt_translate:
• CLAAssistant:
• Invite users to join our group:
• assign-issue:
• CLAAssistant:
• Invite users to join our group:
• gpt_translate:
• assign-issue:
• build:
• test:
• OpenCommit:
• build-and-push:
• build:
• check:
• Test:
• check_typos:
• build:
• Invite users to join our group:
• CLAAssistant:
• assign-issue:
• gpt_translate:
• build:
• Invite users to join our group:
• gpt_translate:
• assign-issue:
• CLAAssistant:
• build:
• gpt_translate:
• build:
• assign-issue:
• CLAAssistant:
• Invite users to join our group:
• build:
• gpt_translate:
• Invite users to join our group:
• assign-issue:
• CLAAssistant:
• assign-issue:
• CLAAssistant:
• Invite users to join our group:
• build:
• gpt_translate:
• build:
• assign-issue:
• gpt_translate:
• CLAAssistant:
• Invite users to join our group:
• assign-issue:
• CLAAssistant:
• Invite users to join our group:
• build:
• gpt_translate:
• assign-issue:
• CLAAssistant:
• build:
• Invite users to join our group:
• gpt_translate:
• CLAAssistant:
• Invite users to join our group:
• assign-issue:
• build:
• gpt_translate:
• CLAAssistant:
• build:
• assign-issue:
• Invite users to join our group:
• gpt_translate:
• build-and-push:
• check:
• Test:
• OpenCommit:
• test:
• check_typos:
• build:
• build:
• build:
• build:
• assign-issue:
• Invite users to join our group:
• gpt_translate:
• CLAAssistant:
• assign-issue:
• Invite users to join our group:
• gpt_translate:
• CLAAssistant:
• build:
• assign-issue:
• gpt_translate:
• Invite users to join our group:
• CLAAssistant:
• build:
• Invite users to join our group:
• assign-issue:
• CLAAssistant:
• build:
• gpt_translate:
• build:
• gpt_translate:
• CLAAssistant:
• assign-issue:
• Invite users to join our group:
• build:
• CLAAssistant:
• Invite users to join our group:
• assign-issue:
• gpt_translate:
• Invite users to join our group:
• CLAAssistant:
• build:
• assign-issue:
• gpt_translate:
• Invite users to join our group:
• assign-issue:
• gpt_translate:
• CLAAssistant:
• build:
• assign-issue:
• Invite users to join our group:
• build:
• CLAAssistant:
• gpt_translate:
• build:
• gpt_translate:
• assign-issue:
• Invite users to join our group:
• CLAAssistant:
• Invite users to join our group:
• CLAAssistant:
• build:
• gpt_translate:
• assign-issue:
• build:
• assign-issue:
• CLAAssistant:
• gpt_translate:
• Invite users to join our group:
• assign-issue:
• CLAAssistant:
• build:
• gpt_translate:
• Invite users to join our group:
• build:
• build-and-push:
• check:
• OpenCommit:
• Test:
• check_typos:
• test:
• build:
• Invite users to join our group:
• assign-issue:
• build:
• CLAAssistant:
• gpt_translate:
• Invite users to join our group:
• CLAAssistant:
• build:
• gpt_translate:
• assign-issue:
• Invite users to join our group:
• build:
• gpt_translate:
• assign-issue:
• CLAAssistant:
• build:
• Invite users to join our group:
• gpt_translate:
• CLAAssistant:
• assign-issue:
• Invite users to join our group:
• CLAAssistant:
• build:
• assign-issue:
• gpt_translate:
• Invite users to join our group:
• assign-issue:
• build:
• gpt_translate:
• CLAAssistant:
• Invite users to join our group:
• build:
• assign-issue:
• CLAAssistant:
• gpt_translate:
• Invite users to join our group:
• assign-issue:

  • Running GitHub Actions for .github/workflows/main.yml
Check .github/workflows/main.yml with contents:

Ran GitHub Actions for 9efc6ab59b9956cfdd46a4e2c7ec9b7c27b6a894:

@pull-request-size pull-request-size bot added the size/M Denotes a PR that changes 30-99 lines, ignoring generated files. label Dec 29, 2023
Copy link
Contributor Author

sweep-ai bot commented Dec 29, 2023

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 git add .
yielded the following error:
##[error]Process completed with exit code 1.

Here are the logs:
�[93mkubecub : Running local kubecub pre-commit hook.�[0m
�[93mkubecub : Running the kubecub commit-msg hook.�[0m
�[93mkubecub : Installing go-gitlint...�[0m
go: downloading github.com/llorllale/go-gitlint v0.0.0-20230218145529-5dd6bc6b0830
go: github.com/llorllale/go-gitlint/cmd/go-gitlint@latest: module github.com/llorllale/go-gitlint@latest found (v0.0.0-20230218145529-5dd6bc6b0830), but does not contain package github.com/llorllale/go-gitlint/cmd/go-gitlint
.git/hooks/commit-msg: line 60: ./_output/tools/go-gitlint: No such file or directory
�[31mkubecub : Please fix your commit message to match kubecub coding standards�[0m
�[31mkubecub : https://gist.github.com/cubxxw/126b72104ac0b0ca484c9db09c3e5694#file-githook-md�[0m

Copy link
Contributor Author

sweep-ai bot commented Dec 29, 2023

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 git add .
yielded the following error:
##[error]Process completed with exit code 1.

Here are the logs:
�[93mkubecub : Running local kubecub pre-commit hook.�[0m
�[93mkubecub : Running the kubecub commit-msg hook.�[0m
�[93mkubecub : Installing go-gitlint...�[0m
go: downloading github.com/llorllale/go-gitlint v0.0.0-20230218145529-5dd6bc6b0830
go: github.com/llorllale/go-gitlint/cmd/go-gitlint@latest: module github.com/llorllale/go-gitlint@latest found (v0.0.0-20230218145529-5dd6bc6b0830), but does not contain package github.com/llorllale/go-gitlint/cmd/go-gitlint
.git/hooks/commit-msg: line 60: ./_output/tools/go-gitlint: No such file or directory
�[31mkubecub : Please fix your commit message to match kubecub coding standards�[0m
�[31mkubecub : https://gist.github.com/cubxxw/126b72104ac0b0ca484c9db09c3e5694#file-githook-md�[0m

Copy link
Contributor Author

sweep-ai bot commented Dec 29, 2023

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 git config --global user.email "[email protected]"
yielded the following error:
##[error]Process completed with exit code 1.

Here are the logs:
�[93mkubecub : Running local kubecub pre-commit hook.�[0m
�[93mkubecub : Running the kubecub commit-msg hook.�[0m
�[93mkubecub : Installing go-gitlint...�[0m
go: downloading github.com/llorllale/go-gitlint v0.0.0-20230218145529-5dd6bc6b0830
go: github.com/llorllale/go-gitlint/cmd/go-gitlint@latest: module github.com/llorllale/go-gitlint@latest found (v0.0.0-20230218145529-5dd6bc6b0830), but does not contain package github.com/llorllale/go-gitlint/cmd/go-gitlint
.git/hooks/commit-msg: line 60: ./_output/tools/go-gitlint: No such file or directory
�[31mkubecub : Please fix your commit message to match kubecub coding standards�[0m
�[31mkubecub : https://gist.github.com/cubxxw/126b72104ac0b0ca484c9db09c3e5694#file-githook-md�[0m

Copy link
Contributor Author

sweep-ai bot commented Dec 29, 2023

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 ./tools/typos ./CONTRIBUTING.md ./README.md
yielded the following error:
##[error]Process completed with exit code 127.

Here are the logs:
/home/runner/work/_temp/6da3e725-ad78-4679-add0-9701bce6746a.sh: line 1: ./tools/typos: No such file or directory

Copy link
Contributor Author

sweep-ai bot commented Dec 29, 2023

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 ./tools/typos ./CONTRIBUTING.md ./README.md
yielded the following error:
##[error]Process completed with exit code 127.

Here are the logs:
/home/runner/work/_temp/7e214e98-ab9d-4ceb-b75c-a4e93d97dbe7.sh: line 1: ./tools/typos: No such file or directory

Copy link
Contributor Author

sweep-ai bot commented Dec 29, 2023

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 crate-ci/typos@master
yielded the following error:
##[error]Process completed with exit code 64.

Here are the logs:
##[group]Run $GITHUB_ACTION_PATH/action/entrypoint.sh
�[36;1m$GITHUB_ACTION_PATH/action/entrypoint.sh�[0m
shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0}
env:
INSTALL_DIR: .
INPUT_FILES: ./CONTIRIBUTING.md ./README.md
INPUT_EXTEND_IDENTIFIERS:
INPUT_EXTEND_WORDS:
INPUT_ISOLATED: false
INPUT_WRITE_CHANGES: false
INPUT_CONFIG:
##[endgroup]
--2023-12-29 18:18:55--  https://github.com/crate-ci/typos/releases/download/v1.16.26/typos-v1.16.26-x86_64-unknown-linux-musl.tar.gz
Resolving github.com (github.com)... 140.82.112.4
Connecting to github.com (github.com)|140.82.112.4|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://objects.githubusercontent.com/github-production-release-asset-2e65be/181782286/a483f245-d4c3-4214-b98c-2b33e8793015?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAVCODYLSA53PQK4ZA%2F20231229%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20231229T181855Z&X-Amz-Expires=300&X-Amz-Signature=35a87625df7b704b76adf46b644911b60eb67bca3e5367f68e2746318b4f569f&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=181782286&response-content-disposition=attachment%3B%20filename%3Dtypos-v1.16.26-x86_64-unknown-linux-musl.tar.gz&response-content-type=application%2Foctet-stream [following]
--2023-12-29 18:18:55--  https://objects.githubusercontent.com/github-production-release-asset-2e65be/181782286/a483f245-d4c3-4214-b98c-2b33e8793015?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAVCODYLSA53PQK4ZA%2F20231229%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20231229T181855Z&X-Amz-Expires=300&X-Amz-Signature=35a87625df7b704b76adf46b644911b60eb67bca3e5367f68e2746318b4f569f&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=181782286&response-content-disposition=attachment%3B%20filename%3Dtypos-v1.16.26-x86_64-unknown-linux-musl.tar.gz&response-content-type=application%2Foctet-stream
Resolving objects.githubusercontent.com (objects.githubusercontent.com)... 185.199.110.133, 185.199.111.133, 185.199.108.133, ...
Connecting to objects.githubusercontent.com (objects.githubusercontent.com)|185.199.110.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 6542857 (6.2M) [application/octet-stream]
Saving to: ‘typos-v1.16.26-x86_64-unknown-linux-musl.tar.gz’

0K ........ ........ ........ ........ ........ ........ 48%  198M 0s
3072K ........ ........ ........ ........ ........ ........ 96%  335M 0s
6144K ...                                                  100%  331M=0.02s

2023-12-29 18:18:55 (251 MB/s) - ‘typos-v1.16.26-x86_64-unknown-linux-musl.tar.gz’ saved [6542857/6542857]

./typos
jq: jq-1.6
$ ./typos ./CONTIRIBUTING.md ./README.md
argument `./CONTIRIBUTING.md` is not found
argument `./CONTIRIBUTING.md` is not found

Copy link
Contributor Author

sweep-ai bot commented Dec 29, 2023

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 go install github.com/llorllale/go-gitlint/cmd/go-gitlint@latest || exit 1
yielded the following error:
##[error]Process completed with exit code 1.

Here are the logs:
go: downloading github.com/llorllale/go-gitlint v0.0.0-20230218145529-5dd6bc6b0830
go install github.com/llorllale/go-gitlint/cmd/go-gitlint@latest: module github.com/llorllale/go-gitlint@latest found (v0.0.0-20230218145529-5dd6bc6b0830), but does not contain package github.com/llorllale/go-gitlint/cmd/go-gitlint

Copy link
Contributor Author

sweep-ai bot commented Dec 29, 2023

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 go install github.com/llorllale/go-gitlint/cmd/go-gitlint@latest || exit 1
yielded the following error:
##[error]Process completed with exit code 1.

Here are the logs:
go: downloading github.com/llorllale/go-gitlint v0.0.0-20230218145529-5dd6bc6b0830
go install github.com/llorllale/go-gitlint/cmd/go-gitlint@latest: module github.com/llorllale/go-gitlint@latest found (v0.0.0-20230218145529-5dd6bc6b0830), but does not contain package github.com/llorllale/go-gitlint/cmd/go-gitlint

Copy link
Contributor Author

sweep-ai bot commented Dec 29, 2023

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 git config --global user.email "[email protected]"
yielded the following error:
##[error]Process completed with exit code 1.

Here are the logs:
�[93mkubecub : Running local kubecub pre-commit hook.�[0m
�[93mkubecub : Running the kubecub commit-msg hook.�[0m
�[93mkubecub : Installing go-gitlint...�[0m
go: downloading github.com/llorllale/go-gitlint v0.0.0-20230218145529-5dd6bc6b0830
go: github.com/llorllale/go-gitlint/cmd/go-gitlint@latest: module github.com/llorllale/go-gitlint@latest found (v0.0.0-20230218145529-5dd6bc6b0830), but does not contain package github.com/llorllale/go-gitlint/cmd/go-gitlint
.git/hooks/commit-msg: line 60: ./_output/tools/go-gitlint: No such file or directory
�[31mkubecub : Please fix your commit message to match kubecub coding standards�[0m
�[31mkubecub : https://gist.github.com/cubxxw/126b72104ac0b0ca484c9db09c3e5694#file-githook-md�[0m

Copy link
Contributor Author

sweep-ai bot commented Dec 29, 2023

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 git add .
yielded the following error:
##[error]Process completed with exit code 1.

Here are the logs:
�[93mkubecub : Running local kubecub pre-commit hook.�[0m
�[93mkubecub : Running the kubecub commit-msg hook.�[0m
�[93mkubecub : Installing go-gitlint...�[0m
go: downloading github.com/llorllale/go-gitlint v0.0.0-20230218145529-5dd6bc6b0830
go: github.com/llorllale/go-gitlint/cmd/go-gitlint@latest: module github.com/llorllale/go-gitlint@latest found (v0.0.0-20230218145529-5dd6bc6b0830), but does not contain package github.com/llorllale/go-gitlint/cmd/go-gitlint
.git/hooks/commit-msg: line 60: ./_output/tools/go-gitlint: No such file or directory
�[31mkubecub : Please fix your commit message to match kubecub coding standards�[0m
�[31mkubecub : https://gist.github.com/cubxxw/126b72104ac0b0ca484c9db09c3e5694#file-githook-md�[0m

Copy link
Contributor Author

sweep-ai bot commented Dec 29, 2023

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 anchore/scan-action@v3
yielded the following error:
##[error]Failed minimum severity level. Found vulnerabilities with level 'medium' or higher

Here are the logs:
[command]/usr/bin/chmod +x /home/runner/work/_temp/699d12b1-0be7-4f75-abf7-63f9d2a58e97
[command]/home/runner/work/_temp/699d12b1-0be7-4f75-abf7-63f9d2a58e97 -b /home/runner/work/_temp/699d12b1-0be7-4f75-abf7-63f9d2a58e97_grype v0.73.4
[info] checking github for release tag='v0.73.4'
[info] fetching release script for tag='v0.73.4'
[info] checking github for release tag='v0.73.4'
[info] using release tag='v0.73.4' version='0.73.4' os='linux' arch='amd64'
[info] installed /home/runner/work/_temp/699d12b1-0be7-4f75-abf7-63f9d2a58e97_grype/grype
##[group]grype output...
Executing: grype -o sarif --fail-on medium dir:.
1 error occurred:
* discovered vulnerabilities at or above the severity threshold

##[endgroup]

@kubbot kubbot removed the sweep label Dec 30, 2023
@kubbot
Copy link
Member

kubbot commented Jan 24, 2024

This issue is stale because it has been open 7 days with no activity.

@kubbot kubbot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Jan 24, 2024
@kubbot
Copy link
Member

kubbot commented Jan 30, 2024

This PR was closed because it has been stalled for 5 days with no activity. You can reopen it if you want.

@kubbot kubbot closed this Jan 30, 2024
@kubecub kubecub locked and limited conversation to collaborators Jan 30, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants