-
-
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 Ensuring go-gitlint Tool Installation #124
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: |
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
go-gitlint
tool not being found. Thego-gitlint
tool is used in thecommit-msg
githook to enforce coding standards on commit messages.The changes made include:
A new step was added in the GitHub Actions workflow file,
.github/workflows/main.yml
, before the commit is made. This step runs the command 'make tools' OR 'make tools.verify.go-gitlint' to install thego-gitlint
tool.The
commit-msg
githook script was modified to check if thego-gitlint
tool is installed before running it. If the tool is not found, the script runs the command 'make tools' OR 'make tools.verify.go-gitlint' to install it.Summary of Changes
.github/workflows/main.yml
to include a step for installinggo-gitlint
tool.scripts/githooks/commit-msg
to check forgo-gitlint
tool installation before running it.These changes ensure that the
go-gitlint
tool is available when thecommit-msg
githook is run, thereby preventing the GitHub Actions run from failing.