Skip to content

Support for PRs from forks #10

@nomego

Description

@nomego

When running this on a PR from another repo, check-runs exists with 403 and {"message":"Resource not accessible by integration","documentation_url":"https://developer.github.com/v3/checks/runs/#create-a-check-run"}

To fix this, we probably need to check if it's a PullRequestEvent and if event.repository.fork === true and then read something like event.pull_request.base.repo instead I think.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions