-
-
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 #147
Conversation
Rollback Files For Sweep
|
Sandbox Executions
Check .github/workflows/main.yml with contents:
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 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: |
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: |
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: |
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
go-gitlint
tool not being found when thecommit-msg
githook is run. The changes made ensure that thego-gitlint
tool is installed before the githooks are executed, and also improve the error handling in thecommit-msg
githook to handle the case where thego-gitlint
tool is not found more gracefully.Summary of Changes
Modified the GitHub Actions workflow file (
.github/workflows/main.yml
) to include a new step that runs the 'make tools' command to install thego-gitlint
tool before the githooks are executed.Modified the
commit-msg
githook script (scripts/githooks/commit-msg
) to attempt to install thego-gitlint
tool if it is not found. After the 'make tools' command is run, the script continues with its execution instead of exiting.These changes should prevent the GitHub Actions run from failing due to the
go-gitlint
tool not being found, and also make thecommit-msg
githook script more robust and able to handle unexpected situations more effectively.