Skip to content

[Sweep GHA Fix] Fix failing GitHub Actions - #107

Closed
sweep-ai-deprecated[bot] wants to merge 4 commits into
mainfrom
sweep/gha-failure
Closed

[Sweep GHA Fix] Fix failing GitHub Actions#107
sweep-ai-deprecated[bot] wants to merge 4 commits into
mainfrom
sweep/gha-failure

Conversation

@sweep-ai-deprecated

Copy link
Copy Markdown

PR Feedback (click)

  • 👍 Sweep Did Well
  • 👎 Sweep Needs Improvement
    I created this PR to fix the failing GitHub Actions.## Description
    This PR addresses the failing GitHub Actions run by fixing the errors encountered during the execution of various commands. The modifications and additions made to the existing scripts ensure that the commands are executed successfully and the necessary rules are in place.

Summary of Changes

  • Modified scripts/githooks/pre-commit.sh to include the missing target 'lint' in the regular expression pattern and update error messages related to branch name format.
  • Modified scripts/githooks/pre-push.sh to include the missing target 'lint' in the regular expression pattern and update error messages related to branch name format.
  • Modified scripts/githooks/commit-msg.sh to include the missing target 'go-gitlint' in the command.
  • Created scripts/githooks/go-gitlint.sh to provide the missing target 'go-gitlint' and added the necessary code to execute the go-gitlint command with the required parameters.

Please review and merge this PR to resolve the failing GitHub Actions run.

@sweep-ai-deprecated

Copy link
Copy Markdown
Author

Rollback Files For Sweep

  • Rollback changes to scripts/githooks/pre-commit.sh
  • Rollback changes to scripts/githooks/pre-commit.sh
  • Rollback changes to scripts/githooks/pre-push.sh
  • Rollback changes to scripts/githooks/pre-push.sh
  • Rollback changes to scripts/githooks/commit-msg.sh
  • Rollback changes to scripts/githooks/commit-msg.sh
  • Rollback changes to scripts/githooks/go-gitlint.sh
  • Rollback changes to scripts/githooks/go-gitlint.sh

@pull-request-size pull-request-size Bot added the size/M Denotes a PR that changes 30-99 lines, ignoring generated files. label Jan 16, 2024
@sweep-ai-deprecated

sweep-ai-deprecated Bot commented Jan 16, 2024

Copy link
Copy Markdown
Author
Sweeping

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:

The command:
Run alex-page/github-project-automation-plus@v0.8.3
yielded the following error:
##[error]Could not find the column "In Progress" or project "openim-powerful"

Here are the logs:


Created Pull Request: #110

@sweep-ai-deprecated

sweep-ai-deprecated Bot commented Jan 16, 2024

Copy link
Copy Markdown
Author
Sweeping

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:

The command:
Run make tidy
yielded the following error:
##[error]Process completed with exit code 2.
##[group]Run actions/setup-go@v2
with:
  go-version: 1.18
  check-latest: false
  stable: true
  token: ***
env:
  GO_VERSION: 1.19
  GOLANGCI_VERSION: v1.50.1
##[endgroup]
Setup go stable version spec 1.18
Attempting to download 1.18...
matching 1.18...
Acquiring 1.18.10 from https://github.com/actions/go-versions/releases/download/1.18.10-3890634278/go-1.18.10-linux-x64.tar.gz
Extracting Go...
[command]/usr/bin/tar xz --warning=no-unknown-keyword -C /home/runner/work/_temp/25c14729-0f26-4a6b-a37f-bd836c952fb6 -f /home/runner/work/_temp/db0ecc92-092a-4927-a6b8-bee3afa299c5
Successfully extracted go to /home/runner/work/_temp/25c14729-0f26-4a6b-a37f-bd836c952fb6
Adding to the cache ...
##[error]The operation was canceled.
##[group]Run make tidy
�[36;1mmake tidy�[0m
shell: /usr/bin/bash -e {0}
env:
  GO_VERSION: 1.19
  GOLANGCI_VERSION: v1.50.1
  GOROOT: /opt/hostedtoolcache/go/1.19.13/x64
##[endgroup]
make: *** No rule to make target 'tidy'.  Stop.
##[error]Process completed with exit code 2.

Here are the logs:
make: *** No rule to make target 'tidy'.  Stop.

[!CAUTION]

An error has occurred: Sweep could not find any files to modify (tracking ID: 90144a3ba0)

@sweep-ai-deprecated

sweep-ai-deprecated Bot commented Jan 16, 2024

Copy link
Copy Markdown
Author
Sweeping

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:

The command:
Run sudo chmod +x ./scripts/build_all_service.sh
yielded the following error:
##[error]Process completed with exit code 1.
##[group]Run sudo chmod +x ./scripts/stop_all.sh
�[36;1msudo chmod +x ./scripts/stop_all.sh�[0m
�[36;1msudo ./scripts/stop_all.sh�[0m
�[36;1msudo cat logs/openIM.log 2>/dev/null�[0m
shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0}
##[endgroup]
chmod: cannot access './scripts/stop_all.sh': No such file or directory
##[error]Process completed with exit code 1.

Here are the logs:
chmod: cannot access './scripts/build_all_service.sh': No such file or directory

Created Pull Request: #108

@kubbot kubbot removed the sweep label Mar 16, 2024
@kubbot

kubbot commented Jun 24, 2024

Copy link
Copy Markdown
Contributor

This issue is stale because it has been open 60 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 Jun 24, 2024
@kubbot

kubbot commented Jul 2, 2024

Copy link
Copy Markdown
Contributor

This PR was closed because it has been stalled for 7 days with no activity. You can reopen it if you want.

@kubbot kubbot closed this Jul 2, 2024
@openimsdk openimsdk locked and limited conversation to collaborators Jul 2, 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.

1 participant