Skip to content

[Sweep GHA Fix] The GitHub Actions run failed with... - #121

Closed
sweep-ai-deprecated[bot] wants to merge 2 commits into
sweep/sweep_gha_fix_the_github_actions_run_fai_fa2eefrom
sweep/sweep_gha_fix_the_github_actions_run_fai_1c0fd
Closed

[Sweep GHA Fix] The GitHub Actions run failed with...#121
sweep-ai-deprecated[bot] wants to merge 2 commits into
sweep/sweep_gha_fix_the_github_actions_run_fai_fa2eefrom
sweep/sweep_gha_fix_the_github_actions_run_fai_1c0fd

Conversation

@sweep-ai-deprecated

Copy link
Copy Markdown

Description

This pull request includes the following changes:

  • Added .github/workflows/pre-commit.yml file
  • Modified .github/workflows/pre-commit.yml file
  • Added scripts/githooks/go-gitlint.sh file
  • Modified scripts/githooks/commit-msg.sh file
  • Modified scripts/githooks/go-gitlint.sh file
  • Modified scripts/githooks/pre-commit.sh file
  • Modified scripts/githooks/pre-push.sh file

Summary

  • Added .github/workflows/pre-commit.yml file
  • Modified .github/workflows/pre-commit.yml file to include a pre-commit hook
  • Added scripts/githooks/go-gitlint.sh file to run go-gitlint
  • Modified scripts/githooks/commit-msg.sh file to include go-gitlint target
  • Modified scripts/githooks/go-gitlint.sh file to run go-gitlint with specified parameters
  • Modified scripts/githooks/pre-commit.sh file to update the file size limit and branch name validation
  • Modified scripts/githooks/pre-push.sh file to update the branch name validation

@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 release-drafter/release-drafter@v5
yielded the following error:
##[error]Invalid config file
##[warning]openimsdk/openim-docs: Invalid config file
{
 name: 'event',
 id: '7536452014',
 stack: 'Error: Configuration file .github/release-drafter.yml is not found. The configuration file must reside in your default branch.\n' +
   '    at getConfig (/home/runner/work/_actions/release-drafter/release-drafter/v5/dist/index.js:142745:13)\n' +
   '    at async drafter (/home/runner/work/_actions/release-drafter/release-drafter/v5/dist/index.js:142339:20)\n' +
   '    at async Promise.all (index 1)',
 type: 'Error'
}
##[error]Invalid config file

Here are the logs:
"pull_request_target.opened" is not a known webhook name (https://developer.github.com/v3/activity/events/types/)
"pull_request_target.reopened" is not a known webhook name (https://developer.github.com/v3/activity/events/types/)
"pull_request_target.synchronize" is not a known webhook name (https://developer.github.com/v3/activity/events/types/)
"pull_request_target.edited" is not a known webhook name (https://developer.github.com/v3/activity/events/types/)
##[warning]openimsdk/openim-docs: Invalid config file
{
name: 'event',
id: '7536452014',
stack: 'Error: Configuration file .github/release-drafter.yml is not found. The configuration file must reside in your default branch.\n' +
'    at getConfig (/home/runner/work/_actions/release-drafter/release-drafter/v5/dist/index.js:142745:13)\n' +
'    at async /home/runner/work/_actions/release-drafter/release-drafter/v5/dist/index.js:142240:22\n' +
'    at async Promise.all (index 0)',
type: 'Error'
}

[!CAUTION]

An error has occurred: Cmd('git') failed due to: exit code(128)
cmdline: git clone -v --branch=sweep/sweep_gha_fix_the_github_actions_run_fai_1c0fd -- https://:@github.com/openimsdk/openim-docs.git /tmp/cache/repos/openimsdk/openim-docs/base/sweep--sweep_gha_fix_the_github_actions_run_fai_1c0fd
stderr: 'Cloning into '/tmp/cache/repos/openimsdk/openim-docs/base/sweep--sweep_gha_fix_the_github_actions_run_fai_1c0fd'...
POST git-upload-pack (640 bytes)
POST git-upload-pack (gzip 4667 to 2083 bytes)
error: unable to create file docs/images/flutter_service_config.gif: No such file or directory
error: unable to create file docs/images/ios_flutter.png: No such file or directory
error: unable to create file docs/images/ios_native.png: No such file or directory
error: unable to create file docs/images/login.png: No such file or directory
error: unable to create file docs/images/logo.ico: No such file or directory
error: unable to create file docs/images/logo.png: No such file or directory
error: unable to create file docs/images/message_flow.png: No such file or directory
error: unable to create file docs/images/minio_1.png: No such file or directory
error: unable to create file docs/images/minio_2.png: No such file or directory
error: unable to create file docs/images/minio_docker.png: No such file or directory
error: unable to create file docs/images/mongodb.png: No such file or directory
error: unable to create file docs/images/pc_qr.png: No such file or directory
error: unable to create file docs/images/redis.png: No such file or directory
error: unable to create file docs/images/register.png: No such file or directory
error: unable to create file docs/images/run.png: No such file or directory
error: unable to create file docs/images/run2.png: No such file or directory
error: unable to create file docs/images/sdk_use_5.png: No such file or directory
error: unable to create file docs/images/sdk_use_6.png: No such file or directory
error: unable to create file docs/images/server-login.png: No such file or directory
error: unable to create file docs/images/server-register.png: No such file or directory
error: unable to create file docs/images/set_server.jpg: No such file or directory
error: unable to create file docs/images/uni_build1.png: No such file or directory
error: unable to create file docs/images/uni_build2.png: No such file or directory
error: unable to create file docs/images/uni_build3.png: No such file or directory
error: unable to create file docs/images/uni_integration1.png: No such file or directory
error: unable to create file docs/images/uni_integration2.png: No such file or directory
error: unable to create file docs/images/uni_integration3.png: No such file or directory
error: unable to create file docs/images/uni_use_1.png: No such file or directory
error: unable to create file docs/images/uni_use_2.png: No such file or directory
error: unable to create file docs/images/uni_use_3.png: No such file or directory
error: unable to create file docs/images/uni_use_4.png: No such file or directory
error: unable to create file docs/images/web_config.png: No such file or directory
error: unable to create file docs/images/web_config_click.png: No such file or directory
error: unable to create file docs/images/web_config_dev.png: No such file or directory
error: unable to create file docs/images/web_config_dev_ex.png: No such file or directory
error: unable to create file docs/images/web_config_ex.png: No such file or directory
error: unable to create file docs/images/web_config_ip.png: No such file or directory
error: unable to create file docs/images/web_demo_01.png: No such file or directory
error: unable to create file docs/images/web_demo_02.png: No such file or directory
error: unable to create file docs/images/web_qr.png: No such file or directory
error: unable to create file docs/images/web_qr_tob.png: No such file or directory
error: unable to create file docs/images/webpack5_error.png: No such file or directory
error: unable to create file docs/index.html: No such file or directory
fatal: cannot create directory at 'docs/integrate': No such file or directory
warning: Clone succeeded, but checkout failed.
You can inspect what was checked out with 'git status'
and retry with 'git restore --source=HEAD :/'

' (tracking ID: 4c9f42cd85)

@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 scripts/githooks/pre-commit.sh
yielded the following error:
##[error]Process completed with exit code 126.

Here are the logs:
/home/runner/work/_temp/788c2b12-8fdc-4252-8c25-8f7243f75eee.sh: line 1: scripts/githooks/pre-commit.sh: Permission denied

Created Pull Request: #123

@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:



[!CAUTION]

An error has occurred: Message is too long, max tokens is -37173 (tracking ID: f8c9c12348)

@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 scripts/githooks/pre-commit.sh
yielded the following error:
##[error]Process completed with exit code 126.

Here are the logs:
/home/runner/work/_temp/74cc782d-68fb-4bb4-9ed6-4762a8812fb0.sh: line 1: scripts/githooks/pre-commit.sh: Permission denied

Created Pull Request: #126

@kubbot

kubbot commented May 4, 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 May 4, 2024
@kubbot

kubbot commented Jun 22, 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 Jun 22, 2024
@openimsdk openimsdk locked and limited conversation to collaborators Jun 22, 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