openim-docs icon indicating copy to clipboard operation
openim-docs copied to clipboard

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

Open sweep-ai-deprecated[bot] opened this issue 1 year ago • 4 comments

Description

This pull request includes the following changes:

  • Added a new script build_all_service.sh in the docs/v2/server_deploy/scripts directory.
  • Modified the stop_all.sh script in the docs/v2/server_deploy/scripts directory.
  • Modified the commit-msg.sh script in the scripts/githooks directory.
  • Added a new script go-gitlint.sh in the scripts/githooks directory.
  • Modified the pre-commit script in the scripts/githooks directory.
  • Modified the pre-commit.sh script in the scripts/githooks directory.
  • Modified the pre-push.sh script in the scripts/githooks directory.

Summary

  • Added a new script build_all_service.sh in the docs/v2/server_deploy/scripts directory.
  • Modified the stop_all.sh script in the docs/v2/server_deploy/scripts directory.
  • Modified the commit-msg.sh script in the scripts/githooks directory.
  • Added a new script go-gitlint.sh in the scripts/githooks directory.
  • Modified the pre-commit script in the scripts/githooks directory.
  • Modified the pre-commit.sh script in the scripts/githooks directory.
  • Modified the pre-push.sh script in the scripts/githooks directory.

Apply Sweep Rules to your PR?

  • [ ] Apply: All new business logic should have corresponding unit tests.
  • [ ] Apply: Refactor large functions to be more modular.
  • [ ] Apply: Add docstrings to all functions and file headers.

This is an automated message generated by Sweep AI.

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:



Created Pull Request: https://github.com/openimsdk/openim-docs/pull/116

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: '7536418325',
 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'
}
##[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: '7536418325',
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'
}

Created Pull Request: https://github.com/openimsdk/openim-docs/pull/122

This issue is stale because it has been open 60 days with no activity.

kubbot avatar May 05 '24 08:05 kubbot

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

kubbot avatar Jun 23 '24 08:06 kubbot