Skip to content

graphql error: Resource not accessible by integration #19

@ssbarnea

Description

@ssbarnea

While trying to use this action I got into an error which seems bit unclear graphql error: Resource not accessible by integration, full log https://github.com/ansible/ansible-lint/runs/6450547152?check_suite_focus=true

My implementation is quite simple: https://github.com/ansible/ansible-lint/blob/main/.github/workflows/tox.yml#L260-L266 and as seen that is triggered by pull requests.

I supposed that the reason for getting this error is lack of permissions for adding a comment to a pull request? The README does not mention anything about such limitation.

Should I add a custom token, if so which permissions do I need to give it? That is bit problematic on pull request due to security concerns of leaking that token as I might not be able to use a secrets environment as pull request can be received from forks too.

References:

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