community icon indicating copy to clipboard operation
community copied to clipboard

Fix GitHub Actions Credentials and Add Pre-Push Check

Open sweep-ai[bot] opened this issue 1 year ago • 17 comments

PR Feedback (click)

  • [ ] 👍 Sweep Did Well
  • [ ] 👎 Sweep Needs Improvement I created this PR to fix the failing GitHub Actions.## Description This PR addresses the issue of the GitHub Actions run failing due to bad credentials. The changes made ensure that the correct credentials are being used when running the dessant/lock-threads@v4 action in the GitHub Actions workflow.

Additionally, a check has been added to the pre-push git hook to verify that the necessary credentials for the GitHub Actions run are set correctly. This will help prevent similar issues from occurring in the future.

Summary of Changes

  • Modified .github/workflows/main.yml to ensure the correct credentials are being used when running the dessant/lock-threads@v4 action.
  • Added a check in scripts/githooks/pre-push.sh to verify that the necessary credentials for the GitHub Actions run are set correctly.

Please review and provide any feedback. Thank you!

sweep-ai[bot] avatar Dec 26 '23 23:12 sweep-ai[bot]

Rollback Files For Sweep

  • [ ] Rollback changes to .github/workflows/main.yml
  • [ ] Rollback changes to .github/workflows/main.yml

sweep-ai[bot] avatar Dec 26 '23 23:12 sweep-ai[bot]

Sandbox Executions

  • [X] Running GitHub Actions for .github/workflows/main.yml
Check .github/workflows/main.yml with contents:

Ran GitHub Actions for 2b40ca57b2d1141ddbb239b0a34a6e73f2ccdf5c:
• Test:
• Execute OpenIM script on ubuntu-latest:
• OpenCommit:
• action:
• Invite users to join our group:
• assign-issue:
• Cherry Pick:
• sync-issue-to-pr:
• CLAAssistant:
• assign-issue:
• create_tag:
• build:
• create_tag:
• assign-issue:
• build:
• Invite users to join our group:
• CLAAssistant:
• Cherry Pick:
• assign-issue:
• sync-issue-to-pr:
• Cherry Pick:
• create_tag:
• sync-issue-to-pr:
• build:
• assign-issue:
• create_tag:
• CLAAssistant:
• assign-issue:
• assign-issue:
• Invite users to join our group:
• assign-issue:
• Cherry Pick:
• build:
• sync-issue-to-pr:
• Invite users to join our group:
• CLAAssistant:
• CLAAssistant:
• assign-issue:
• Cherry Pick:
• assign-issue:
• Invite users to join our group:
• create_tag:
• sync-issue-to-pr:
• build:
• Invite users to join our group:
• build:
• assign-issue:
• Cherry Pick:
• assign-issue:
• create_tag:
• sync-issue-to-pr:
• CLAAssistant:
• Execute OpenIM script on ubuntu-latest:
• OpenCommit:
• Test:
• Cherry Pick:
• CLAAssistant:
• assign-issue:
• create_tag:
• build:
• sync-issue-to-pr:
• assign-issue:
• Invite users to join our group:
• build:
• assign-issue:
• CLAAssistant:
• create_tag:
• Invite users to join our group:
• assign-issue:
• sync-issue-to-pr:
• Cherry Pick:
• assign-issue:
• CLAAssistant:
• create_tag:
• sync-issue-to-pr:
• assign-issue:
• build:
• Cherry Pick:
• Invite users to join our group:
• assign-issue:
• sync-issue-to-pr:
• Invite users to join our group:
• CLAAssistant:
• build:
• assign-issue:
• create_tag:
• Cherry Pick:
• Invite users to join our group:
• assign-issue:
• Cherry Pick:
• assign-issue:
• sync-issue-to-pr:
• CLAAssistant:
• build:
• create_tag:
• Cherry Pick:
• assign-issue:
• assign-issue:
• create_tag:
• build:
• sync-issue-to-pr:
• CLAAssistant:
• Invite users to join our group:
• Execute OpenIM script on ubuntu-latest:
• OpenCommit:
• Test:
• action:
• Cherry Pick:
• assign-issue:
• create_tag:
• CLAAssistant:
• Invite users to join our group:
• assign-issue:
• build:
• sync-issue-to-pr:
• sync-issue-to-pr:
• assign-issue:
• create_tag:
• Cherry Pick:
• CLAAssistant:
• Invite users to join our group:
• build:
• assign-issue:
• assign-issue:
• CLAAssistant:
• build:
• create_tag:
• Invite users to join our group:
• sync-issue-to-pr:
• assign-issue:
• Cherry Pick:
• assign-issue:
• sync-issue-to-pr:
• create_tag:
• Cherry Pick:
• Invite users to join our group:
• build:
• CLAAssistant:
• assign-issue:
• assign-issue:
• Invite users to join our group:
• sync-issue-to-pr:
• CLAAssistant:
• build:
• create_tag:
• Cherry Pick:
• assign-issue:
• assign-issue:
• create_tag:
• Invite users to join our group:
• sync-issue-to-pr:
• assign-issue:
• CLAAssistant:
• build:
• Cherry Pick:
• Invite users to join our group:
• assign-issue:
• CLAAssistant:
• create_tag:
• assign-issue:
• sync-issue-to-pr:
• build:
• Cherry Pick:
• assign-issue:
• Cherry Pick:
• Invite users to join our group:
• CLAAssistant:
• build:
• assign-issue:
• create_tag:
• sync-issue-to-pr:
• assign-issue:
• assign-issue:
• CLAAssistant:
• build:
• Invite users to join our group:
• sync-issue-to-pr:
• create_tag:
• Cherry Pick:
• assign-issue:
• create_tag:
• CLAAssistant:
• Invite users to join our group:
• build:
• Cherry Pick:
• assign-issue:
• sync-issue-to-pr:
• build:
• assign-issue:
• Cherry Pick:
• assign-issue:
• create_tag:
• Execute OpenIM script on ubuntu-latest:
• OpenCommit:
• CLAAssistant:
• sync-issue-to-pr:
• Invite users to join our group:
• Test:
• Invite users to join our group:
• sync-issue-to-pr:
• CLAAssistant:
• assign-issue:
• Cherry Pick:
• assign-issue:
• build:
• create_tag:
• CLAAssistant:
• assign-issue:
• create_tag:
• build:
• sync-issue-to-pr:
• Cherry Pick:
• Invite users to join our group:
• assign-issue:
• assign-issue:
• assign-issue:
• create_tag:
• CLAAssistant:
• Invite users to join our group:
• build:
• assign-issue:
• sync-issue-to-pr:
• Cherry Pick:
• Invite users to join our group:
• CLAAssistant:
• assign-issue:
• build:
• create_tag:
• sync-issue-to-pr:
• Cherry Pick:
• Invite users to join our group:
• build:
• sync-issue-to-pr:
• assign-issue:
• assign-issue:
• create_tag:
• CLAAssistant:
• Cherry Pick:
• CLAAssistant:
• sync-issue-to-pr:
• assign-issue:
• assign-issue:
• build:
• Cherry Pick:
• create_tag:
• CLAAssistant:
• Invite users to join our group:
• assign-issue:
• Invite users to join our group:
• sync-issue-to-pr:
• create_tag:
• Cherry Pick:
• assign-issue:
• build:
• assign-issue:
• build:
• create_tag:
• Invite users to join our group:
• CLAAssistant:
• Cherry Pick:
• build:
• assign-issue:
• assign-issue:
• sync-issue-to-pr:
• assign-issue:
• create_tag:
• Invite users to join our group:
• assign-issue:
• Cherry Pick:
• sync-issue-to-pr:
• CLAAssistant:
• build:
• CLAAssistant:
• Cherry Pick:
• sync-issue-to-pr:
• Invite users to join our group:
• create_tag:
• assign-issue:
• assign-issue:
• Cherry Pick:
• assign-issue:
• create_tag:
• Invite users to join our group:
• sync-issue-to-pr:
• CLAAssistant:
• assign-issue:
• build:
• create_tag:
• build:
• Invite users to join our group:
• sync-issue-to-pr:
• assign-issue:
• Cherry Pick:
• CLAAssistant:
• sync-issue-to-pr:
• CLAAssistant:
• create_tag:
• build:
• Execute OpenIM script on ubuntu-latest:
• OpenCommit:
• Test:
• assign-issue:
• assign-issue:
• Cherry Pick:
• Invite users to join our group:
• CLAAssistant:
• build:
• assign-issue:
• sync-issue-to-pr:
• create_tag:
• assign-issue:
• Cherry Pick:
• Invite users to join our group:
• Execute OpenIM script on ubuntu-latest:
• OpenCommit:
• Test:
• Execute OpenIM script on ubuntu-latest:
• Test:
• OpenCommit:
• Cherry Pick:
• assign-issue:
• CLAAssistant:
• build:
• Invite users to join our group:
• create_tag:
• assign-issue:
• sync-issue-to-pr:
• sync-issue-to-pr:
• Invite users to join our group:
• assign-issue:
• build:
• assign-issue:
• create_tag:
• Cherry Pick:
• CLAAssistant:
• build:
• assign-issue:
• CLAAssistant:
• sync-issue-to-pr:
• Cherry Pick:
• assign-issue:
• create_tag:
• Invite users to join our group:
• Invite users to join our group:
• sync-issue-to-pr:
• build:
• Cherry Pick:
• CLAAssistant:
• assign-issue:
• create_tag:
• assign-issue:
• assign-issue:
• assign-issue:
• CLAAssistant:
• build:
• sync-issue-to-pr:
• create_tag:
• Invite users to join our group:
• Cherry Pick:
• Execute OpenIM script on ubuntu-latest:
• OpenCommit:
• Test:
• assign-issue:
• CLAAssistant:
• Invite users to join our group:
• build:
• create_tag:
• assign-issue:
• Cherry Pick:
• sync-issue-to-pr:
• Invite users to join our group:
• sync-issue-to-pr:
• create_tag:
• assign-issue:
• Cherry Pick:
• assign-issue:
• CLAAssistant:
• build:
• Invite users to join our group:
• assign-issue:
• build:
• assign-issue:
• sync-issue-to-pr:
• CLAAssistant:
• create_tag:
• create_tag:
• assign-issue:
• Cherry Pick:
• sync-issue-to-pr:
• assign-issue:
• CLAAssistant:
• Cherry Pick:
• Invite users to join our group:
• build:
• assign-issue:
• CLAAssistant:
• Invite users to join our group:
• build:
• assign-issue:
• Cherry Pick:
• sync-issue-to-pr:
• create_tag:
• build:
• sync-issue-to-pr:
• assign-issue:
• create_tag:
• assign-issue:
• CLAAssistant:
• Cherry Pick:
• Invite users to join our group:
• Invite users to join our group:
• Cherry Pick:
• build:
• sync-issue-to-pr:
• CLAAssistant:
• assign-issue:
• create_tag:
• assign-issue:
• Execute OpenIM script on ubuntu-latest:
• Test:
• OpenCommit:
• assign-issue:
• CLAAssistant:
• Invite users to join our group:
• build:
• Cherry Pick:
• assign-issue:
• sync-issue-to-pr:
• create_tag:
• sync-issue-to-pr:
• CLAAssistant:
• assign-issue:
• Cherry Pick:
• create_tag:
• assign-issue:
• Invite users to join our group:
• build:
• Cherry Pick:
• assign-issue:
• build:
• CLAAssistant:
• create_tag:
• sync-issue-to-pr:
• Invite users to join our group:
• assign-issue:
• assign-issue:
• build:
• CLAAssistant:
• sync-issue-to-pr:
• create_tag:
• Cherry Pick:
• Invite users to join our group:
• assign-issue:
• assign-issue:
• Cherry Pick:
• create_tag:
• Invite users to join our group:
• build:
• sync-issue-to-pr:
• assign-issue:
• CLAAssistant:
• Invite users to join our group:
• CLAAssistant:
• assign-issue:
• sync-issue-to-pr:
• Cherry Pick:
• create_tag:
• assign-issue:
• build:
• Invite users to join our group:
• create_tag:
• assign-issue:
• CLAAssistant:
• sync-issue-to-pr:
• Cherry Pick:
• assign-issue:
• build:
• Test:
• Execute OpenIM script on ubuntu-latest:
• OpenCommit:
• assign-issue:
• build:
• sync-issue-to-pr:
• Cherry Pick:
• create_tag:
• CLAAssistant:
• Invite users to join our group:
• assign-issue:
• build:
• Cherry Pick:
• assign-issue:
• CLAAssistant:
• assign-issue:
• Invite users to join our group:
• sync-issue-to-pr:
• create_tag:
• create_tag:
• Cherry Pick:
• build:
• sync-issue-to-pr:
• Invite users to join our group:
• assign-issue:
• CLAAssistant:
• assign-issue:
• Cherry Pick:
• sync-issue-to-pr:
• assign-issue:
• build:
• CLAAssistant:
• create_tag:
• assign-issue:
• Invite users to join our group:
• assign-issue:
• Cherry Pick:
• create_tag:
• build:
• sync-issue-to-pr:
• CLAAssistant:
• Invite users to join our group:
• assign-issue:
• create_tag:
• Invite users to join our group:
• assign-issue:
• CLAAssistant:
• assign-issue:
• build:
• Cherry Pick:
• sync-issue-to-pr:
• Execute OpenIM script on ubuntu-latest:
• Test:
• OpenCommit:
• action:
• assign-issue:
• assign-issue:
• Cherry Pick:
• CLAAssistant:
• sync-issue-to-pr:
• build:
• create_tag:
• Invite users to join our group:
• sync-issue-to-pr:
• Invite users to join our group:
• Cherry Pick:
• build:
• CLAAssistant:
• assign-issue:
• create_tag:
• assign-issue:
• create_tag:
• build:
• Cherry Pick:
• assign-issue:
• Invite users to join our group:
• assign-issue:
• CLAAssistant:
• sync-issue-to-pr:
• assign-issue:
• create_tag:
• Invite users to join our group:
• build:
• Cherry Pick:
• sync-issue-to-pr:
• CLAAssistant:
• assign-issue:
• Invite users to join our group:
• Cherry Pick:
• build:
• CLAAssistant:
• sync-issue-to-pr:
• assign-issue:
• create_tag:
• assign-issue:
• Invite users to join our group:
• assign-issue:
• CLAAssistant:
• sync-issue-to-pr:
• assign-issue:
• build:
• create_tag:
• Cherry Pick:
• Execute OpenIM script on ubuntu-latest:
• Test:
• OpenCommit:
• action:
• Execute OpenIM script on ubuntu-latest:
• Test:
• action:
• create_tag:
• assign-issue:
• sync-issue-to-pr:
• CLAAssistant:
• Invite users to join our group:
• Cherry Pick:
• build:
• assign-issue:
• assign-issue:
• assign-issue:
• Cherry Pick:
• Invite users to join our group:
• sync-issue-to-pr:
• create_tag:
• build:
• CLAAssistant:
• build:
• CLAAssistant:
• Invite users to join our group:
• assign-issue:
• assign-issue:
• sync-issue-to-pr:
• create_tag:
• Cherry Pick:
• assign-issue:
• Invite users to join our group:
• Cherry Pick:
• sync-issue-to-pr:
• build:
• assign-issue:
• create_tag:
• CLAAssistant:
• CLAAssistant:
• create_tag:
• Cherry Pick:
• assign-issue:
• build:
• Invite users to join our group:
• assign-issue:
• sync-issue-to-pr:
• Execute OpenIM script on ubuntu-latest:
• Test:
• OpenCommit:
• CLAAssistant:
• assign-issue:
• assign-issue:
• create_tag:
• build:
• sync-issue-to-pr:
• Invite users to join our group:
• assign-issue:
• Cherry Pick:
• Invite users to join our group:
• CLAAssistant:
• sync-issue-to-pr:
• assign-issue:
• create_tag:
• build:
• Cherry Pick:
• assign-issue:
• create_tag:
• CLAAssistant:
• sync-issue-to-pr:
• Invite users to join our group:
• assign-issue:
• Cherry Pick:
• build:
• sync-issue-to-pr:
• Invite users to join our group:
• Cherry Pick:
• assign-issue:
• build:
• assign-issue:
• CLAAssistant:
• create_tag:
• create_tag:
• sync-issue-to-pr:
• assign-issue:
• CLAAssistant:
• assign-issue:
• Cherry Pick:
• build:
• Invite users to join our group:
• Invite users to join our group:
• Cherry Pick:
• build:
• create_tag:
• CLAAssistant:
• assign-issue:
• assign-issue:
• sync-issue-to-pr:
• Invite users to join our group:
• assign-issue:
• create_tag:
• assign-issue:
• sync-issue-to-pr:
• CLAAssistant:
• Cherry Pick:
• build:
• Execute OpenIM script on ubuntu-latest:
• OpenCommit:
• Test:
• action:
• action:
• action:
• Execute OpenIM script on ubuntu-latest:
• Test:
• action:
• action:
• action:
• action:
• Execute OpenIM script on ubuntu-latest:
• Test:
• action:
• action:
• action:
• action:
• stale:
• Test:
• Execute OpenIM script on ubuntu-latest:
• action:
• action:
• action:
• Test with go 1.21 on ubuntu-latest:
• Test with go 1.20 on ubuntu-latest:
• Test with go 1.19 on ubuntu-latest:
• Test with go 1.20 on ubuntu-latest:
• build-ghcr:
• Build OpenIM Docker Image:
• Test with go 1.19 on ubuntu-latest:
• Execute OpenIM script on ubuntu-latest:
• build-dockerhub:
• Execute OpenIM Script On macos-latest:
• OpenCommit:
• Test with go 1.18 on ubuntu-latest:
• deploy-dev:
• sync:
• Test:
• CodeQL-Build:
• build-aliyun:
• golang-security-action:
• update_release_draft:
• Test OpenIM install/start on ubuntu-latest:
• Execute OpenIM Script On ubuntu-latest:
• build:
• lint:
• Execute OpenIM script on ubuntu-latest:
• coverage:
• Test with go 1.21 on ubuntu-latest:
• execute-scripts:
• lint:
• markdown-related check:

  • [X] Running GitHub Actions for scripts/githooks/pre-push.sh
Check scripts/githooks/pre-push.sh with contents:

sweep-ai[bot] avatar Dec 26 '23 23:12 sweep-ai[bot]

Sweeping

Fixing PR: track the progress here.

I'm currently fixing this PR to address the following:

The GitHub Actions run failed with the following error logs:

The command:
Run contributor-assistant/[email protected]
yielded the following error:
##[error]graphql call to get the committers details failed: HttpError: Bad credentials

Here are the logs:
CLA Assistant GitHub Action bot has started the process

Making changes according to plan... (step 2/3)

sweep-ai[bot] avatar Dec 26 '23 23:12 sweep-ai[bot]

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

cla-assistant[bot] avatar Dec 26 '23 23:12 cla-assistant[bot]

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

cla-assistant[bot] avatar Dec 26 '23 23:12 cla-assistant[bot]

Sweeping

Fixing PR: track the progress here.

I'm currently fixing this PR to address the following:

The GitHub Actions run failed with the following error logs:

The command:
Run sudo make tidy
yielded the following error:
##[error]Process completed with exit code 2.
##[group]Run sudo make tidy
[36;1msudo make tidy[0m
[36;1msudo make tools.verify.go-gitlint[0m
shell: /usr/bin/bash -e {0}
env:
  GO_VERSION: 1.19
  GOLANGCI_VERSION: v1.50.1
##[endgroup]
make: *** No rule to make target 'tidy'.  Stop.
##[error]Process completed with exit code 2.
##[group]Run actions/setup-go@v4
with:
  go-version: 1.20
  check-latest: false
  token: ***
  cache: true
env:
  GO_VERSION: 1.19
  GOLANGCI_VERSION: v1.50.1
##[endgroup]
Setup go version spec 1.20
Found in cache @ /Users/runner/hostedtoolcache/go/1.20.12/x64
Added go to the path
Successfully set up Go version 1.20
[command]/Users/runner/hostedtoolcache/go/1.20.12/x64/bin/go env GOMODCACHE
[command]/Users/runner/hostedtoolcache/go/1.20.12/x64/bin/go env GOCACHE
/Users/runner/go/pkg/mod
/Users/runner/Library/Caches/go-build
##[warning]Restore cache failed: Dependencies file is not found in /Users/runner/work/community/community. Supported file pattern: go.sum
go version go1.20.12 darwin/amd64

##[group]go env
##[error]The operation was canceled.
##[group]Run sudo make init
[36;1msudo make init[0m
[36;1msudo make image[0m
shell: /usr/bin/bash -e {0}
env:
  GO_VERSION: 1.19
  GOLANGCI_VERSION: v1.50.1
##[endgroup]
make: *** No rule to make target 'init'.  Stop.
##[error]Process completed with exit code 2.
##[group]Run sudo make tidy
[36;1msudo make tidy[0m
[36;1msudo make tools.verify.go-gitlint[0m
shell: /usr/bin/bash -e {0}
env:
  GO_VERSION: 1.19
  GOLANGCI_VERSION: v1.50.1
##[endgroup]
make: *** No rule to make target 'tidy'.  Stop.
##[error]Process completed with exit code 2.
##[group]Run sudo make init
[36;1msudo make init[0m
[36;1msudo docker compose up -d[0m
[36;1msudo sleep 20[0m
shell: /usr/bin/bash -e {0}
env:
  GO_VERSION: 1.19
  GOLANGCI_VERSION: v1.50.1
##[endgroup]
make: *** No rule to make target 'init'.  Stop.
##[error]Process completed with exit code 2.
##[group]Run sudo make install
[36;1msudo make install[0m
shell: /usr/bin/bash -e {0}
env:
  GO_VERSION: 1.19
  GOLANGCI_VERSION: v1.50.1
##[endgroup]
make: *** No rule to make target 'install'.  Stop.
##[error]Process completed with exit code 2.

Here are the logs:
make: *** No rule to make target 'tidy'.  Stop.

Making changes according to plan... (step 2/3)

sweep-ai[bot] avatar Dec 26 '23 23:12 sweep-ai[bot]

Sweeping

Fixing PR: track the progress here.

I'm currently fixing this PR to address the following:

The GitHub Actions run failed with the following error logs:

The command:
Run sudo chmod +x ./scripts/build_all_service.sh
yielded the following error:
##[error]Process completed with exit code 1.
##[group]Run sudo chmod +x ./scripts/stop_all.sh
[36;1msudo chmod +x ./scripts/stop_all.sh[0m
[36;1msudo ./scripts/stop_all.sh[0m
[36;1msudo cat logs/openIM.log 2>/dev/null[0m
shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0}
##[endgroup]
chmod: cannot access './scripts/stop_all.sh': No such file or directory
##[error]Process completed with exit code 1.

Here are the logs:
chmod: cannot access './scripts/build_all_service.sh': No such file or directory

Making changes according to plan... (step 2/3)

sweep-ai[bot] avatar Dec 26 '23 23:12 sweep-ai[bot]

Sweeping

Fixing PR: track the progress here.

I'm currently fixing this PR to address the following:

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/community: Invalid config file
{
 name: 'event',
 id: '7333312209',
 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/community: Invalid config file
{
name: 'event',
id: '7333312209',
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'
}

Making changes according to plan... (step 2/3)

sweep-ai[bot] avatar Dec 26 '23 23:12 sweep-ai[bot]

Sweeping

Fixing PR: track the progress here.

I'm currently fixing this PR to address the following:

The GitHub Actions run failed with the following error logs:

The command:
Run sudo make tidy
yielded the following error:
##[error]Process completed with exit code 2.
##[group]Run sudo make tidy
[36;1msudo make tidy[0m
[36;1msudo make tools.verify.go-gitlint[0m
shell: /usr/bin/bash -e {0}
env:
  GO_VERSION: 1.19
  GOLANGCI_VERSION: v1.50.1
##[endgroup]
make: *** No rule to make target 'tidy'.  Stop.
##[error]Process completed with exit code 2.
##[group]Run actions/setup-go@v4
with:
  go-version: 1.20
  check-latest: false
  token: ***
  cache: true
env:
  GO_VERSION: 1.19
  GOLANGCI_VERSION: v1.50.1
##[endgroup]
Setup go version spec 1.20
Found in cache @ /Users/runner/hostedtoolcache/go/1.20.12/x64
Added go to the path
Successfully set up Go version 1.20
[command]/Users/runner/hostedtoolcache/go/1.20.12/x64/bin/go env GOMODCACHE
[command]/Users/runner/hostedtoolcache/go/1.20.12/x64/bin/go env GOCACHE
/Users/runner/go/pkg/mod
/Users/runner/Library/Caches/go-build
##[warning]Restore cache failed: Dependencies file is not found in /Users/runner/work/community/community. Supported file pattern: go.sum
go version go1.20.12 darwin/amd64

##[group]go env
##[error]The operation was canceled.
##[group]Run sudo make init
[36;1msudo make init[0m
[36;1msudo make image[0m
shell: /usr/bin/bash -e {0}
env:
  GO_VERSION: 1.19
  GOLANGCI_VERSION: v1.50.1
##[endgroup]
make: *** No rule to make target 'init'.  Stop.
##[error]Process completed with exit code 2.
##[group]Run sudo make tidy
[36;1msudo make tidy[0m
[36;1msudo make tools.verify.go-gitlint[0m
shell: /usr/bin/bash -e {0}
env:
  GO_VERSION: 1.19
  GOLANGCI_VERSION: v1.50.1
##[endgroup]
make: *** No rule to make target 'tidy'.  Stop.
##[error]Process completed with exit code 2.
##[group]Run sudo make init
[36;1msudo make init[0m
[36;1msudo docker compose up -d[0m
[36;1msudo sleep 20[0m
shell: /usr/bin/bash -e {0}
env:
  GO_VERSION: 1.19
  GOLANGCI_VERSION: v1.50.1
##[endgroup]
make: *** No rule to make target 'init'.  Stop.
##[error]Process completed with exit code 2.
##[group]Run sudo make install
[36;1msudo make install[0m
shell: /usr/bin/bash -e {0}
env:
  GO_VERSION: 1.19
  GOLANGCI_VERSION: v1.50.1
##[endgroup]
make: *** No rule to make target 'install'.  Stop.
##[error]Process completed with exit code 2.

Here are the logs:
make: *** No rule to make target 'tidy'.  Stop.

Making changes according to plan... (step 2/3)

sweep-ai[bot] avatar Dec 26 '23 23:12 sweep-ai[bot]

Sweeping

Fixing PR: track the progress here.

I'm currently fixing this PR to address the following:

The GitHub Actions run failed with the following error logs:

The command:
Run sudo make tidy
yielded the following error:
##[error]Process completed with exit code 2.
##[group]Run sudo make tidy
[36;1msudo make tidy[0m
[36;1msudo make tools.verify.go-gitlint[0m
shell: /usr/bin/bash -e {0}
env:
  GO_VERSION: 1.19
  GOLANGCI_VERSION: v1.50.1
##[endgroup]
make: *** No rule to make target 'tidy'.  Stop.
##[error]Process completed with exit code 2.
##[group]Run actions/setup-go@v4
with:
  go-version: 1.20
  check-latest: false
  token: ***
  cache: true
env:
  GO_VERSION: 1.19
  GOLANGCI_VERSION: v1.50.1
##[endgroup]
Setup go version spec 1.20
Found in cache @ /Users/runner/hostedtoolcache/go/1.20.12/x64
Added go to the path
Successfully set up Go version 1.20
[command]/Users/runner/hostedtoolcache/go/1.20.12/x64/bin/go env GOMODCACHE
[command]/Users/runner/hostedtoolcache/go/1.20.12/x64/bin/go env GOCACHE
/Users/runner/go/pkg/mod
/Users/runner/Library/Caches/go-build
##[warning]Restore cache failed: Dependencies file is not found in /Users/runner/work/community/community. Supported file pattern: go.sum
go version go1.20.12 darwin/amd64

##[group]go env
##[error]The operation was canceled.
##[group]Run sudo make init
[36;1msudo make init[0m
[36;1msudo make image[0m
shell: /usr/bin/bash -e {0}
env:
  GO_VERSION: 1.19
  GOLANGCI_VERSION: v1.50.1
##[endgroup]
make: *** No rule to make target 'init'.  Stop.
##[error]Process completed with exit code 2.
##[group]Run sudo make tidy
[36;1msudo make tidy[0m
[36;1msudo make tools.verify.go-gitlint[0m
shell: /usr/bin/bash -e {0}
env:
  GO_VERSION: 1.19
  GOLANGCI_VERSION: v1.50.1
##[endgroup]
make: *** No rule to make target 'tidy'.  Stop.
##[error]Process completed with exit code 2.
##[group]Run sudo make init
[36;1msudo make init[0m
[36;1msudo docker compose up -d[0m
[36;1msudo sleep 20[0m
shell: /usr/bin/bash -e {0}
env:
  GO_VERSION: 1.19
  GOLANGCI_VERSION: v1.50.1
##[endgroup]
make: *** No rule to make target 'init'.  Stop.
##[error]Process completed with exit code 2.
##[group]Run sudo make install
[36;1msudo make install[0m
shell: /usr/bin/bash -e {0}
env:
  GO_VERSION: 1.19
  GOLANGCI_VERSION: v1.50.1
##[endgroup]
make: *** No rule to make target 'install'.  Stop.
##[error]Process completed with exit code 2.

Here are the logs:
make: *** No rule to make target 'tidy'.  Stop.

Making changes according to plan... (step 2/3)

sweep-ai[bot] avatar Dec 26 '23 23:12 sweep-ai[bot]

Sweeping

Fixing PR: track the progress here.

I'm currently fixing this PR to address the following:

The GitHub Actions run failed with the following error logs:

The command:
Run alex-page/[email protected]
yielded the following error:
##[error]Bad credentials

Here are the logs:


sweep-ai[bot] avatar Dec 26 '23 23:12 sweep-ai[bot]

Sweeping

Fixing PR: track the progress here.

I'm currently fixing this PR to address the following:

The GitHub Actions run failed with the following error logs:

The command:
Run sudo make tidy
yielded the following error:
##[error]Process completed with exit code 2.
##[group]Run sudo make tidy
[36;1msudo make tidy[0m
[36;1msudo make tools.verify.go-gitlint[0m
shell: /usr/bin/bash -e {0}
env:
  GO_VERSION: 1.19
  GOLANGCI_VERSION: v1.50.1
##[endgroup]
make: *** No rule to make target 'tidy'.  Stop.
##[error]Process completed with exit code 2.
##[group]Run actions/setup-go@v4
with:
  go-version: 1.20
  check-latest: false
  token: ***
  cache: true
env:
  GO_VERSION: 1.19
  GOLANGCI_VERSION: v1.50.1
##[endgroup]
Setup go version spec 1.20
Found in cache @ /Users/runner/hostedtoolcache/go/1.20.12/x64
Added go to the path
Successfully set up Go version 1.20
[command]/Users/runner/hostedtoolcache/go/1.20.12/x64/bin/go env GOMODCACHE
[command]/Users/runner/hostedtoolcache/go/1.20.12/x64/bin/go env GOCACHE
/Users/runner/go/pkg/mod
/Users/runner/Library/Caches/go-build
##[warning]Restore cache failed: Dependencies file is not found in /Users/runner/work/community/community. Supported file pattern: go.sum
go version go1.20.12 darwin/amd64

##[group]go env
##[error]The operation was canceled.
##[group]Run sudo make init
[36;1msudo make init[0m
[36;1msudo make image[0m
shell: /usr/bin/bash -e {0}
env:
  GO_VERSION: 1.19
  GOLANGCI_VERSION: v1.50.1
##[endgroup]
make: *** No rule to make target 'init'.  Stop.
##[error]Process completed with exit code 2.
##[group]Run sudo make tidy
[36;1msudo make tidy[0m
[36;1msudo make tools.verify.go-gitlint[0m
shell: /usr/bin/bash -e {0}
env:
  GO_VERSION: 1.19
  GOLANGCI_VERSION: v1.50.1
##[endgroup]
make: *** No rule to make target 'tidy'.  Stop.
##[error]Process completed with exit code 2.
##[group]Run sudo make init
[36;1msudo make init[0m
[36;1msudo docker compose up -d[0m
[36;1msudo sleep 20[0m
shell: /usr/bin/bash -e {0}
env:
  GO_VERSION: 1.19
  GOLANGCI_VERSION: v1.50.1
##[endgroup]
make: *** No rule to make target 'init'.  Stop.
##[error]Process completed with exit code 2.
##[group]Run sudo make install
[36;1msudo make install[0m
shell: /usr/bin/bash -e {0}
env:
  GO_VERSION: 1.19
  GOLANGCI_VERSION: v1.50.1
##[endgroup]
make: *** No rule to make target 'install'.  Stop.
##[error]Process completed with exit code 2.

Here are the logs:
make: *** No rule to make target 'tidy'.  Stop.

sweep-ai[bot] avatar Dec 26 '23 23:12 sweep-ai[bot]

Sweeping

Fixing PR: track the progress here.

I'm currently fixing this PR to address the following:

The GitHub Actions run failed with the following error logs:

The command:
Run actions/setup-go@v2
yielded the following error:
##[error]The operation was canceled.
Requested labels: ubuntu-latest
Job defined at: openimsdk/community/.github/workflows/openim-ci.yml@refs/pull/53/merge
Waiting for a runner to pick up this job...
Job is waiting for a hosted runner to come online.
Job is about to start running on the hosted runner: GitHub Actions 9 (hosted)
Current runner version: '2.311.0'
##[group]Operating System
Ubuntu
22.04.3
LTS
##[endgroup]
##[group]Runner Image
Image: ubuntu-22.04
Version: 20231217.2.0
Included Software: https://github.com/actions/runner-images/blob/ubuntu22/20231217.2/images/ubuntu/Ubuntu2204-Readme.md
Image Release: https://github.com/actions/runner-images/releases/tag/ubuntu22%2F20231217.2
##[endgroup]
##[group]Runner Image Provisioner
2.0.321.1
##[endgroup]
##[group]GITHUB_TOKEN Permissions
Actions: write
Checks: write
Contents: write
Deployments: write
Discussions: write
Issues: write
Metadata: read
Packages: write
Pages: write
PullRequests: write
RepositoryProjects: write
SecurityEvents: write
Statuses: write
##[endgroup]
Secret source: Actions
Prepare workflow directory
Prepare all required actions
Getting action download info
##[error]The operation was canceled.
##[group]Run make tidy
[36;1mmake tidy[0m
shell: /usr/bin/bash -e {0}
env:
  GO_VERSION: 1.19
  GOLANGCI_VERSION: v1.50.1
  GOROOT: /opt/hostedtoolcache/go/1.19.13/x64
##[endgroup]
make: *** No rule to make target 'tidy'.  Stop.
##[error]Process completed with exit code 2.
Current runner version: '2.311.0'
##[group]Operating System
Ubuntu
22.04.3
LTS
##[endgroup]
##[group]Runner Image
Image: ubuntu-22.04
Version: 20231217.2.0
Included Software: https://github.com/actions/runner-images/blob/ubuntu22/20231217.2/images/ubuntu/Ubuntu2204-Readme.md
Image Release: https://github.com/actions/runner-images/releases/tag/ubuntu22%2F20231217.2
##[endgroup]
##[group]Runner Image Provisioner
2.0.321.1
##[endgroup]
##[group]GITHUB_TOKEN Permissions
Actions: write
Checks: write
Contents: write
Deployments: write
Discussions: write
Issues: write
Metadata: read
Packages: write
Pages: write
PullRequests: write
RepositoryProjects: write
SecurityEvents: write
Statuses: write
##[endgroup]
Secret source: Actions
Prepare workflow directory
Prepare all required actions
Getting action download info
##[error]The operation was canceled.

Here are the logs:
Setup go stable version spec 1.18
Attempting to download 1.18...
matching 1.18...
Acquiring 1.18.10 from https://github.com/actions/go-versions/releases/download/1.18.10-3890634278/go-1.18.10-linux-x64.tar.gz
Extracting Go...
[command]/usr/bin/tar xz --warning=no-unknown-keyword -C /home/runner/work/_temp/588f1865-07b3-4392-8171-9afeb4398f7c -f /home/runner/work/_temp/9129cf9a-638e-480d-b415-31c37e6341e6
Successfully extracted go to /home/runner/work/_temp/588f1865-07b3-4392-8171-9afeb4398f7c
Adding to the cache ...

sweep-ai[bot] avatar Dec 26 '23 23:12 sweep-ai[bot]

Sweeping

Fixing PR: track the progress here.

I'm currently fixing this PR to address the following:

The GitHub Actions run failed with the following error logs:

The command:
Run sudo make tidy
yielded the following error:
##[error]Process completed with exit code 2.
##[group]Run sudo make tidy
[36;1msudo make tidy[0m
[36;1msudo make tools.verify.go-gitlint[0m
shell: /usr/bin/bash -e {0}
env:
  GO_VERSION: 1.19
  GOLANGCI_VERSION: v1.50.1
##[endgroup]
make: *** No rule to make target 'tidy'.  Stop.
##[error]Process completed with exit code 2.
##[group]Run actions/setup-go@v4
with:
  go-version: 1.20
  check-latest: false
  token: ***
  cache: true
env:
  GO_VERSION: 1.19
  GOLANGCI_VERSION: v1.50.1
##[endgroup]
Setup go version spec 1.20
Found in cache @ /Users/runner/hostedtoolcache/go/1.20.12/x64
Added go to the path
Successfully set up Go version 1.20
[command]/Users/runner/hostedtoolcache/go/1.20.12/x64/bin/go env GOMODCACHE
[command]/Users/runner/hostedtoolcache/go/1.20.12/x64/bin/go env GOCACHE
/Users/runner/go/pkg/mod
/Users/runner/Library/Caches/go-build
##[warning]Restore cache failed: Dependencies file is not found in /Users/runner/work/community/community. Supported file pattern: go.sum
go version go1.20.12 darwin/amd64

##[group]go env
##[error]The operation was canceled.
##[group]Run sudo make init
[36;1msudo make init[0m
[36;1msudo make image[0m
shell: /usr/bin/bash -e {0}
env:
  GO_VERSION: 1.19
  GOLANGCI_VERSION: v1.50.1
##[endgroup]
make: *** No rule to make target 'init'.  Stop.
##[error]Process completed with exit code 2.
##[group]Run sudo make tidy
[36;1msudo make tidy[0m
[36;1msudo make tools.verify.go-gitlint[0m
shell: /usr/bin/bash -e {0}
env:
  GO_VERSION: 1.19
  GOLANGCI_VERSION: v1.50.1
##[endgroup]
make: *** No rule to make target 'tidy'.  Stop.
##[error]Process completed with exit code 2.
##[group]Run sudo make init
[36;1msudo make init[0m
[36;1msudo docker compose up -d[0m
[36;1msudo sleep 20[0m
shell: /usr/bin/bash -e {0}
env:
  GO_VERSION: 1.19
  GOLANGCI_VERSION: v1.50.1
##[endgroup]
make: *** No rule to make target 'init'.  Stop.
##[error]Process completed with exit code 2.
##[group]Run sudo make install
[36;1msudo make install[0m
shell: /usr/bin/bash -e {0}
env:
  GO_VERSION: 1.19
  GOLANGCI_VERSION: v1.50.1
##[endgroup]
make: *** No rule to make target 'install'.  Stop.
##[error]Process completed with exit code 2.

Here are the logs:
make: *** No rule to make target 'tidy'.  Stop.

sweep-ai[bot] avatar Dec 26 '23 23:12 sweep-ai[bot]

Sweeping

Fixing PR: track the progress here.

I'm currently fixing this PR to address the following:

The GitHub Actions run failed with the following error logs:

The command:
Run sudo make tidy
yielded the following error:
##[error]Process completed with exit code 2.
##[group]Run sudo make tidy
[36;1msudo make tidy[0m
[36;1msudo make tools.verify.go-gitlint[0m
shell: /usr/bin/bash -e {0}
env:
  GO_VERSION: 1.19
  GOLANGCI_VERSION: v1.50.1
##[endgroup]
make: *** No rule to make target 'tidy'.  Stop.
##[error]Process completed with exit code 2.
##[group]Run actions/setup-go@v4
with:
  go-version: 1.20
  check-latest: false
  token: ***
  cache: true
env:
  GO_VERSION: 1.19
  GOLANGCI_VERSION: v1.50.1
##[endgroup]
Setup go version spec 1.20
Found in cache @ /Users/runner/hostedtoolcache/go/1.20.12/x64
Added go to the path
Successfully set up Go version 1.20
[command]/Users/runner/hostedtoolcache/go/1.20.12/x64/bin/go env GOMODCACHE
[command]/Users/runner/hostedtoolcache/go/1.20.12/x64/bin/go env GOCACHE
/Users/runner/go/pkg/mod
/Users/runner/Library/Caches/go-build
##[warning]Restore cache failed: Dependencies file is not found in /Users/runner/work/community/community. Supported file pattern: go.sum
go version go1.20.12 darwin/amd64

##[group]go env
##[error]The operation was canceled.
##[group]Run sudo make init
[36;1msudo make init[0m
[36;1msudo make image[0m
shell: /usr/bin/bash -e {0}
env:
  GO_VERSION: 1.19
  GOLANGCI_VERSION: v1.50.1
##[endgroup]
make: *** No rule to make target 'init'.  Stop.
##[error]Process completed with exit code 2.
##[group]Run sudo make tidy
[36;1msudo make tidy[0m
[36;1msudo make tools.verify.go-gitlint[0m
shell: /usr/bin/bash -e {0}
env:
  GO_VERSION: 1.19
  GOLANGCI_VERSION: v1.50.1
##[endgroup]
make: *** No rule to make target 'tidy'.  Stop.
##[error]Process completed with exit code 2.
##[group]Run sudo make init
[36;1msudo make init[0m
[36;1msudo docker compose up -d[0m
[36;1msudo sleep 20[0m
shell: /usr/bin/bash -e {0}
env:
  GO_VERSION: 1.19
  GOLANGCI_VERSION: v1.50.1
##[endgroup]
make: *** No rule to make target 'init'.  Stop.
##[error]Process completed with exit code 2.
##[group]Run sudo make install
[36;1msudo make install[0m
shell: /usr/bin/bash -e {0}
env:
  GO_VERSION: 1.19
  GOLANGCI_VERSION: v1.50.1
##[endgroup]
make: *** No rule to make target 'install'.  Stop.
##[error]Process completed with exit code 2.

Here are the logs:
make: *** No rule to make target 'tidy'.  Stop.

sweep-ai[bot] avatar Dec 26 '23 23:12 sweep-ai[bot]

Sweeping

Fixing PR: track the progress here.

I'm currently fixing this PR to address the following:

The GitHub Actions run failed with the following error logs:

The command:
Run github/codeql-action/analyze@v2
yielded the following error:
##[error]Encountered a fatal error while running "/opt/hostedtoolcache/CodeQL/2.15.4/x64/codeql/codeql database finalize --finalize-dataset --threads=4 --ram=14567 /home/runner/work/_temp/codeql_databases/go". Exit code was 32 and last log line was: CodeQL detected code written in , but not any written in Go. Review our troubleshooting guide at https://gh.io/troubleshooting-code-scanning/no-source-code-seen-during-build . See the logs for more details.

Here are the logs:
[command]/opt/hostedtoolcache/CodeQL/2.15.4/x64/codeql/codeql version --format=json
{
"productName" : "CodeQL",
"vendor" : "GitHub",
"version" : "2.15.4",
"sha" : "6994dfd6d94ee3d205768fbe15e18312bf22b388",
"branches" : [
"codeql-cli-2.15.4"
],
"copyright" : "Copyright (C) 2019-2023 GitHub, Inc.",
"unpackedLocation" : "/opt/hostedtoolcache/CodeQL/2.15.4/x64/codeql",
"configFileLocation" : "/home/runner/.config/codeql/config",
"configFileFound" : false,
"features" : {
"analysisSummaryV2Option" : true,
"featuresInVersionResult" : true,
"indirectTracingSupportsStaticBinaries" : false,
"supportsPython312" : true,
"mrvaPackCreate" : true,
"threatModelOption" : true
}
}
##[group]Finalizing go
[command]/opt/hostedtoolcache/CodeQL/2.15.4/x64/codeql/codeql database finalize --finalize-dataset --threads=4 --ram=14567 /home/runner/work/_temp/codeql_databases/go
CodeQL detected code written in , but not any written in Go. Review our troubleshooting guide at https://gh.io/troubleshooting-code-scanning/no-source-code-seen-during-build .

sweep-ai[bot] avatar Dec 26 '23 23:12 sweep-ai[bot]

Sweeping

Fixing PR: track the progress here.

I'm currently fixing this PR to address the following:

The GitHub Actions run failed with the following error logs:

The command:
Run sudo make init
yielded the following error:
##[error]Process completed with exit code 2.

Here are the logs:
make: *** No rule to make target 'init'.  Stop.

sweep-ai[bot] avatar Dec 26 '23 23:12 sweep-ai[bot]