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

Replace all GraphQL calls with REST API calls #224

Closed
wants to merge 1 commit into from

Commits on Sep 12, 2024

  1. Replace all GraphQL calls with REST API calls

    The default GitHub Actions app token, `secrets.GITHUB_TOKEN`, cannot make GraphQL calls.
    Without this patch, the cherry-pick and PR opening succeeds but then a confusing error comment is posted back on the original PR like in https://github.com/grafana/pyroscope/actions/runs/10606280342/job/29396725224?pr=3526.
    
    Removing the GraphQL call means that this workflow doesn't require GitHub App creation for each repository that wants to use it.
    
    Signed-off-by: Jack Baldry <[email protected]>
    jdbaldry committed Sep 12, 2024
    Configuration menu
    Copy the full SHA
    a328e5a View commit details
    Browse the repository at this point in the history