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/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 that checks for commit message format
  • Added scripts/githooks/go-gitlint.sh file to execute go-gitlint for commit message validation
  • Modified scripts/githooks/commit-msg.sh file to include --target='go-gitlint' option for go-gitlint execution
  • Modified scripts/githooks/go-gitlint.sh file to include go-gitlint execution logic
  • Modified scripts/githooks/pre-commit.sh file to include a pre-commit hook that checks for file size limit and branch name format
  • Modified scripts/githooks/pre-push.sh file to include a pre-push hook that checks for branch name format

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/cd313420-00eb-47b9-8ae0-4d48f13c6189.sh: line 1: scripts/githooks/pre-commit.sh: Permission denied

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

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: '7536503808',
 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: '7536503808',
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 runNextTicks (node:internal/process/task_queues:61:5)\n' +
'    at listOnTimeout (node:internal/timers:528:9)\n' +
'    at processTimers (node:internal/timers:502:7)\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: Message is too long, max tokens is -15926 (tracking ID: b4697fdab7)

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/93fb8dbf-481f-4ce2-9f0b-7f81ec1cfb44.sh: line 1: scripts/githooks/pre-commit.sh: Permission denied

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

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

kubbot avatar May 04 '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 21 '24 08:06 kubbot