Skip to content

Codeball check fails if PR is approved #195

@volodya-lombrozo

Description

@volodya-lombrozo

We are using codeball-action in our project:

name: codeball
on:
  pull_request: {}
  pull_request_review_comment:
    types: [created, edited]
jobs:
  codeball_job:
    runs-on: ubuntu-20.04
    name: codeball
    steps:
      - uses: sturdy-dev/codeball-action@v2
        with:
          # For all configuration options see https://github.com/sturdy-dev/codeball-action/blob/v2/action.yml
          approvePullRequests: "true"
          labelPullRequestsWhenApproved: "true"
          labelPullRequestsWhenReviewNeeded: "false"
          failJobsWhenReviewNeeded: "false"

Every time codeball adds the codeball:approved label to a PR, we encounter the following error:

Error: Error: failed to create review HttpError: Resource not accessible by integration
[50](https://github.com/objectionary/eo/actions/runs/4938370500/jobs/8828046747?pr=2055#step:2:55)
Error: failed to create review HttpError: Resource not accessible by integration

You can see full logs in the next checks:

Issue comes from: objectionary/eo#2056

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions