-
-
Notifications
You must be signed in to change notification settings - Fork 1
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 #121
Conversation
Rollback Files For Sweep
|
Sandbox Executions
Check scripts/githooks/commit-msg with contents: |
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: Making changes according to plan... (step 2/3) |
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: |
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: |
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: |
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: |
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: |
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: |
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: |
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: |
This issue is stale because it has been open 7 days with no activity. |
This PR was closed because it has been stalled for 5 days with no activity. You can reopen it if you want. |
PR Feedback (click)
I created this PR to fix the failing GitHub Actions.## Description
This PR addresses the issue of GitHub Actions failing due to the absence of the go-gitlint tool. The issue was occurring because the commit-msg hook script was trying to run the tool from a specific directory, but the tool was not present in that location.
The solution involved modifying the commit-msg script to check if the go-gitlint tool is installed at the beginning of the script. If the tool is not installed, the script now runs the necessary commands to install it.
Summary of Changes
This change ensures that the go-gitlint tool is installed before the commit-msg script tries to run it, preventing the GitHub Actions failure.