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 .github/release-drafter.yml file
  • Added .github/workflows/pre-commit.yml file
  • Added scripts/githooks/go-gitlint.sh file
  • Modified scripts/githooks/commit-msg.sh file
  • Modified scripts/githooks/pre-commit.sh file
  • Modified scripts/githooks/pre-push.sh file

Summary

  • Added .github/release-drafter.yml file for Release Drafter configuration
  • Added .github/workflows/pre-commit.yml file for Pre-commit Hook
  • Added scripts/githooks/go-gitlint.sh file for executing go-gitlint
  • Modified scripts/githooks/commit-msg.sh file to include --target='go-gitlint' option
  • Modified scripts/githooks/pre-commit.sh file to include file size limit check and branch name validation
  • Modified scripts/githooks/pre-push.sh file to include branch name validation

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: '7537336113',
 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: '7537336113',
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'
}

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

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/618b7776-b7fb-4a9d-9da3-6a55f8d7aeb7.sh: line 1: scripts/githooks/pre-commit.sh: Permission denied

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

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 -15328 (tracking ID: 9ebdb616dd)