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

Error: Converting circular structure to JSON #129

Open
martinm82 opened this issue Dec 4, 2023 · 1 comment
Open

Error: Converting circular structure to JSON #129

martinm82 opened this issue Dec 4, 2023 · 1 comment

Comments

@martinm82
Copy link

martinm82 commented Dec 4, 2023

I have recently updated to v2.1.0 and hitting now the following error:

Run github/privileged-requester@f8d60d9344e[1](https://github.com/my-org/my-repo/actions/runs/7086922976/job/19286225062#step:3:1)c10976aad5c1af0c7c977badd677
  with:
    github_token: ***
    path: .github/privileged-requester.yml
    prCreator: dependabot[bot]
    prNumber: 1[2](https://github.com/my-org/my-repo/actions/runs/7086922976/job/19286225062#step:3:2)1[4](https://github.com/my-org/my-repo/actions/runs/7086922976/job/19286225062#step:3:4)
    checkCommits: true
    checkDiff: false
    checkLabels: false
    handle: github-actions[bot]
config path: .github/privileged-requester.yml
PR creator is dependabot[bot]. Testing against dependabot[bot]
Privileged requester dependabot[bot] found. Checking PR criteria against the privileged requester configuration.
Commits: Comparing the PR commits to verify that they are all from dependabot[bot]
Commits: All commits are made by dependabot[bot]. Success!
Error: PR not approved.
Error: Converting circular structure to JSON
    --> starting at object with constructor 'TLSSocket'
    |     property 'parser' -> object with constructor 'HTTPParser'
    --- property 'socket' closes the circle
Privileged requester dependabot[bot] checks passed.
✅ Approved!
@merrywhether
Copy link

This happens to me 2/3 of the time also. I'm confused how it ever works.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants