PATCH /repos/{owner}/{repo}/check-suites/preferences

Changes the default automatic flow when creating check suites. By default, a check suite is automatically created each time code is pushed to a repository. When you disable the automatic creation of check suites, you can manually Create a check suite. You must have admin permissions in the repository to set preferences for check suites.

Servers

Path parameters

Name Type Required Description
repo String Yes

The name of the repository without the .git extension. The name is not case sensitive.

owner String Yes

The account owner of the repository. The name is not case sensitive.

Request headers

Name Type Required Description
Content-Type String Yes The media type of the request body.

Default value: "application/json"

Request body fields

Name Type Required Description
auto_trigger_checks[] Array No

Enables or disables automatic creation of CheckSuite events upon pushes to the repository. Enabled by default.

auto_trigger_checks[].app_id Integer Yes

The id of the GitHub App.

auto_trigger_checks[].setting Boolean Yes

Set to true to enable automatic creation of CheckSuite events upon pushes to the repository, or false to disable them.

Default value: true

How to start integrating

  1. Add HTTP Task to your workflow definition.
  2. Search for the API you want to integrate with and click on the name.
    • This loads the API reference documentation and prepares the Http request settings.
  3. Click Test request to test run your request to the API and see the API's response.