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 run by ensuring go-gitlint tool is installed #116

Closed
wants to merge 1 commit into from

Conversation

sweep-ai[bot]
Copy link
Contributor

@sweep-ai sweep-ai bot commented Dec 27, 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 the GitHub Actions run failing due to the absence of the go-gitlint tool. The error was encountered when the commit-msg hook script was executed. The error message suggested running 'make tools' OR 'make tools.verify.go-gitlint' to install the go-gitlint tool.

The solution implemented in this PR involves modifying the GitHub Actions workflow file to ensure the go-gitlint tool is installed before the commit-msg hook script is executed. This was achieved by adding a new step in the workflow to run the suggested commands for installing the go-gitlint tool.

Summary of Changes

  • Added a new step in the GitHub Actions workflow file (.github/workflows/main.yml) to install the go-gitlint tool. This step is executed before the commit-msg hook script is run.
  • The new step checks if the go-gitlint tool is already installed before running the installation commands. This is done using a condition 'if ! command -v ./_output/tools/go-gitlint &>/dev/null; then ... fi'.

These changes ensure that the go-gitlint tool is installed before the commit-msg hook script is executed, thus preventing the error from occurring and allowing the GitHub Actions run to complete successfully.

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

sweep-ai bot commented Dec 27, 2023

Rollback Files For Sweep

  • Rollback changes to .github/workflows/main.yml

Copy link
Contributor Author

sweep-ai bot commented Dec 27, 2023

Sandbox Executions

@sweep-ai sweep-ai bot added the sweep label Dec 27, 2023
@pull-request-size pull-request-size bot added the size/M Denotes a PR that changes 30-99 lines, ignoring generated files. label Dec 27, 2023
@kubbot
Copy link
Member

kubbot commented Dec 27, 2023

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


Sandbox Executions

Copy link
Contributor Author

sweep-ai bot commented Dec 27, 2023

❌ Could not find files to change

Please join our Discord to report this issue.

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

kubbot commented Feb 11, 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 Feb 11, 2024
@kubbot
Copy link
Member

kubbot commented Feb 16, 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 Feb 16, 2024
@kubecub kubecub locked and limited conversation to collaborators Feb 16, 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