-
-
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 by Installing go-gitlint #128
Conversation
Rollback Files For Sweep
|
Sandbox Executions |
Sandbox Executions |
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 3/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: Making changes according to plan... (step 3/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: Making changes according to plan... (step 3/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: Making changes according to plan... (step 3/3) |
❌ Could not find files to change Please join our Discord to report this issue. |
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 3/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: Making changes according to plan... (step 3/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: Making changes according to plan... (step 3/3) |
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 fixes the GitHub Actions failure that was caused by the absence of the
go-gitlint
tool in the GitHub Actions environment. Thecommit-msg
hook script in thescripts/githooks
directory uses thego-gitlint
tool to enforce commit message standards. If thego-gitlint
tool is not found, the script prints an error message and exits with a non-zero status code, causing the GitHub Actions run to fail.The solution to this issue was to add a step in the GitHub Actions workflow to install the
go-gitlint
tool before thecommit-msg
hook is run.Summary of Changes
.github/workflows/main.yml
to add a new step that installs thego-gitlint
tool. This step runs the following commands:go get github.com/jorisroovers/gitlint
go install github.com/jorisroovers/gitlint
go-gitlint
tool in the GitHub Actions environment.go-gitlint
tool is installed, thecommit-msg
hook can run without errors, and the GitHub Actions run should no longer fail due to the absence of thego-gitlint
tool.