Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Conversation

sweep-ai[bot]
Copy link

@sweep-ai sweep-ai bot commented Jan 16, 2024

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' flag
  • 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

@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
Copy link
Author

sweep-ai bot commented Jan 16, 2024

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/97f6f0c0-e2e0-420f-87e9-28277533d5e9.sh: line 1: scripts/githooks/pre-commit.sh: Permission denied

Created Pull Request: #289

Copy link
Author

sweep-ai bot commented Jan 16, 2024

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

Created Pull Request: #291

Copy link
Author

sweep-ai bot commented Jan 16, 2024

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/881349c7-ec73-435f-8761-7edb0316faef.sh: line 1: scripts/githooks/pre-commit.sh: Permission denied

Created Pull Request: #299

Copy link
Author

sweep-ai bot commented Jan 16, 2024

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: Sweep could not find any files to modify (tracking ID: 7405274a8d)

@kubbot
Copy link
Contributor

kubbot commented Apr 15, 2024

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 15, 2024
@kubbot
Copy link
Contributor

kubbot commented Jun 5, 2024

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