Search Results for ""

Enabling GitHub Checks

This document describes how to enable the GitHub Checks CircleCI Setting and authorize the CircleCI Checks app to report workflow status to the GitHub app.

Overview

GitHub Checks provides your workflow status messages on the GitHub Checks page and enables you to rerun a workflow from the GitHub Checks page.

After checks are enabled, CircleCI workflow and job status is reported under the checks tab on GitHub.

CircleCI Checks

To Enable GitHub Checks

To use the CircleCI Check integration, you first need to navigate to the Org Setting, then authenticate the repository to use CircleCI Checks as follows:

Prerequisites

  • Your project must be using CircleCI 2.0 with Workflows.
  • You must be an Admin on your GitHub repository to authorize installation of the CircleCI Checks integration.

Steps

  1. Click the Settings tab in the CircleCI app main menu.
  2. Select VCS.
  3. Click the Manage GitHub Checks button. CircleCI VCS Settings Page
  4. Select the repositories that should utilize checks and click the Install button. CircleCI VCS Settings Page After installation completes, the Checks tab in GitHub will be populated with workflow run status information.

Checks Status Reporting

CircleCI reports the status of workflows and all corresponding jobs under the Checks tab on GitHub. Additionally, Checks provides a button to rerun each workflow from GitHub Checks tab.

After the rerun is initiated, CircleCI reruns the workflow from beginning and reposts the status on the Checks tab. To navigate to the CircleCI app from GitHub, click the View more details on CircleCI Checks link.

Note: Your project will stop receiving job level status after GitHub Checks is turned on. You can change this in the GitHub Status updates section of the Project Settings > Advanced Settings page.

To Disable GitHub Checks for a Project

To disable the CircleCI Check integration, navigate to the Org Settings Page, then remove the repositories using CircleCI Checks as follows:

Steps

  1. Click the Settings tab in the CircleCI app main menu.
  2. Select VCS.
  3. Click the Manage GitHub Checks button. The Update CircleCI Checks repository access page appears. CircleCI VCS Settings Page
  4. Deselect the repository to uninstall the Checks integration.

To Uninstall Checks for the Organization

  1. Click the Settings tab in the CircleCI app main menu.
  2. Select VCS.
  3. Click the Manage GitHub Checks button.
  4. Scroll down and click the Uninstall button to uninstall the GitHub Checks app.

GitHub Checks Waiting for Status in GitHub

ci/circleci:build — Waiting for status to be reported

If you have enabled GitHub Checks in your GitHub repository, but the status check never completes on Github Checks tab, there may be status settings in GitHub that you need to deselect. For example, if you choose to protect your branches, you may need to deselect the ci/circleci:build status key as this check refers to the job status from CircleCI 2.0, as follows:

Having the ci/circleci:build checkbox enabled will prevent the status from showing as completed in GitHub when using a GitHub Checks because CircleCI posts statuses to GitHub at a workflow level rather than a workflow job level.

Go to Settings > Branches in GitHub and click the Edit button on the protected branch to deselect the settings, for example https://github.com/your-org/project/settings/branches.