Skip to content

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

Closed
sweep-ai-deprecated[bot] wants to merge 1 commit into
sweep/sweep_gha_fix_the_github_actions_run_fai_f8a31from
sweep/sweep_gha_fix_the_github_actions_run_fai_18a4f
Closed

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

Conversation

@sweep-ai-deprecated

Copy link
Copy Markdown

Description

This pull request includes the following changes:

  • Added a new file .github/release-drafter.yml with configuration for Release Drafter.
  • Added a new file .github/workflows/pre-commit.yml with a workflow for pre-commit hook.
  • Modified the file scripts/githooks/commit-msg.sh to include additional error messages.
  • Added a new file scripts/githooks/go-gitlint.sh with a script to execute go-gitlint.
  • Modified the file scripts/githooks/pre-commit.sh to include additional error messages and file size limit check.
  • Modified the file scripts/githooks/pre-push.sh to include additional error messages and branch name validation.

Summary

  • Added .github/release-drafter.yml configuration file.
  • Added .github/workflows/pre-commit.yml workflow file.
  • Modified scripts/githooks/commit-msg.sh to include additional error messages.
  • Added scripts/githooks/go-gitlint.sh script.
  • Modified scripts/githooks/pre-commit.sh to include additional error messages and file size limit check.
  • Modified scripts/githooks/pre-push.sh to include additional error messages and branch name validation.

@pull-request-size pull-request-size Bot added the size/S Denotes a PR that changes 10-29 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 scripts/githooks/pre-commit.sh
yielded the following error:
##[error]Process completed with exit code 126.

Here are the logs:
/home/runner/work/_temp/3426faff-ffd6-435d-9235-4c8a707533ec.sh: line 1: scripts/githooks/pre-commit.sh: Permission denied

Created Pull Request: #326

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

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

[!CAUTION]

An error has occurred: 422 {"message": "Validation Failed", "errors": [{"resource": "PullRequest", "code": "custom", "message": "No commits between sweep/sweep_gha_fix_the_github_actions_run_fai_18a4f and sweep/sweep_gha_fix_the_github_actions_run_fai_559c9"}], "documentation_url": "https://docs.github.com/rest/pulls/pulls#create-a-pull-request"} (tracking ID: f5f895b395)

@kubbot

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

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant