Skip to content

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

Closed
sweep-ai-deprecated[bot] wants to merge 1 commit into
sweep/sweep_gha_fix_the_github_actions_run_fai_d49b7from
sweep/sweep_gha_fix_the_github_actions_run_fai_4101c
Closed

[Sweep GHA Fix] The GitHub Actions run failed with...#208
sweep-ai-deprecated[bot] wants to merge 1 commit into
sweep/sweep_gha_fix_the_github_actions_run_fai_d49b7from
sweep/sweep_gha_fix_the_github_actions_run_fai_4101c

Conversation

@sweep-ai-deprecated

Copy link
Copy Markdown

Description

This pull request includes the following changes:

  • Added a new workflow file .github/workflows/pre-commit.yml
  • Modified the file scripts/githooks/commit-msg.sh to include a new target for go-gitlint
  • Added a new script file scripts/githooks/go-gitlint.sh
  • Modified the file scripts/githooks/pre-commit.sh to include new permissions and a new function run_go_gitlint
  • Modified the file scripts/githooks/pre-commit.sh to include new permissions and a new function printMessage
  • Modified the file scripts/githooks/pre-commit.sh to include new permissions and a new function file_too_large
  • Modified the file scripts/githooks/pre-commit.sh to include new permissions and a new function run_go_gitlint
  • Modified the file scripts/githooks/pre-commit.sh to include new permissions and a new function printError
  • Modified the file scripts/githooks/pre-push.sh to include a new error message

Summary

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

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

Copy link
Copy Markdown
Author

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.

@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/161a6fce-e554-45a1-8cd4-415069db8c17.sh: line 1: scripts/githooks/pre-commit.sh: Permission denied

Created Pull Request: #214

@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: '7536850650',
 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: '7536850650',
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: #224

@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/0075ab29-7b3a-492c-a9d9-a7d3961a2343.sh: line 1: scripts/githooks/pre-commit.sh: Permission denied

Created Pull Request: #229

@kubbot

kubbot commented Apr 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 Apr 24, 2024
@kubbot

kubbot commented Jun 13, 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 13, 2024
@openimsdk openimsdk locked and limited conversation to collaborators Jun 13, 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/XS Denotes a PR that changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant