Skip to content

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

Closed
sweep-ai-deprecated[bot] wants to merge 1 commit into
sweep/sweep_gha_fix_the_github_actions_run_fai_86bdbfrom
sweep/sweep_gha_fix_the_github_actions_run_fai_ff2d4
Closed

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

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/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 job that runs on push and pull request events
  • Added scripts/githooks/go-gitlint.sh file to execute go-gitlint with specific parameters
  • Modified scripts/githooks/go-gitlint.sh file to include additional parameters for go-gitlint execution
  • Modified scripts/githooks/pre-commit.sh file to include a pre-commit hook that checks the file size limit and branch name format
  • Modified scripts/githooks/pre-push.sh file to include a pre-push hook that checks the branch name format

@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

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: '7536572025',
 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: '7536572025',
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: #142

@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/ee49d985-67e6-4797-89f3-bac7c9372ffc.sh: line 1: scripts/githooks/pre-commit.sh: Permission denied

Created Pull Request: #150

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



Created Pull Request: #165

@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/c66e3ee7-be67-4da5-b8a9-13eb798bdb7e.sh: line 1: scripts/githooks/pre-commit.sh: Permission denied

Created Pull Request: #158

@kubbot

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

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