Skip to content

Report check status when importing from a pull request #229

Description

@fennifith

See: API endpoints for check runs (these should be available on the installation octokit client - will need to be added to the github-api exports)

Hoof should create a check run at the start of the WEBHOOK_PULL_REQUEST job, and hold onto the returned check ID while the jobs are completed.

If the sync jobs triggered by WEBHOOK_PULL_REQUEST fail for any reason, use the PATCH endpoint to update the run, and indicate e.g. "Failed to process posts/example" as the summary.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions