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 installing go-gitlint #114

Closed
wants to merge 4 commits into from

Conversation

sweep-ai[bot]
Copy link
Contributor

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

PR Feedback (click)

  • 👍 Sweep Did Well
  • 👎 Sweep Needs Improvement
    I created this PR to fix the failing GitHub Actions.## Description
    This PR fixes the issue with the GitHub Actions run failing due to the go-gitlint tool not being found. The solution involves modifying the GitHub Actions workflow file to install the go-gitlint tool before running the commit-msg hook.

Changes made:

  • Added a new step in the GitHub Actions workflow file (.github/workflows/main.yml) to install the go-gitlint tool. This step is added before the step where the commit-msg hook is executed.

Summary of Changes

  • The new step in the GitHub Actions workflow runs the following commands:
    • mkdir -p ./_output/tools
    • wget -O ./_output/tools/go-gitlint https://github.com/stevvooe/go-gitlint/releases/download/v0.1.0/go-gitlint-linux-amd64
    • chmod +x ./_output/tools/go-gitlint
  • These commands create the necessary directory, download the go-gitlint tool from its GitHub releases page, and make it executable.
  • After this step, the commit-msg hook should be able to find and execute the go-gitlint tool without any issues.

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

sweep-ai bot commented Dec 26, 2023

Rollback Files For Sweep

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

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

sweep-ai bot commented Dec 26, 2023

Sandbox Executions

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

sweep-ai bot commented Dec 26, 2023

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/d8c507e7-ea95-4c41-b497-fa2e22eaad47.sh: line 1: ./tools/typos: No such file or directory

Copy link
Contributor Author

sweep-ai bot commented Dec 26, 2023

🚀 Wrote Changes

Done.

@kubbot
Copy link
Member

kubbot commented Dec 26, 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 26, 2023

🚀 Wrote Changes

Done.

@kubbot
Copy link
Member

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

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