Skip to content

Commit 7056583

Browse files
authored
Merge pull request #37586 from github/jhosman-10037-checks-CI-tutorial
Update Apps tutorial about building CI with checks API
2 parents f1a521b + eed2815 commit 7056583

File tree

7 files changed

+1622
-746
lines changed

7 files changed

+1622
-746
lines changed

content/apps/creating-github-apps/writing-code-for-a-github-app/building-ci-checks-with-a-github-app.md

Lines changed: 1617 additions & 0 deletions
Large diffs are not rendered by default.

content/apps/creating-github-apps/writing-code-for-a-github-app/creating-ci-tests-with-the-checks-api.md

Lines changed: 0 additions & 737 deletions
This file was deleted.

content/apps/creating-github-apps/writing-code-for-a-github-app/index.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,5 @@ children:
1919
- /building-a-login-with-github-button-with-a-github-app
2020
- /building-a-cli-with-a-github-app
2121
- /setting-up-your-development-environment-to-create-a-github-app
22-
- /creating-ci-tests-with-the-checks-api
22+
- /building-ci-checks-with-a-github-app
2323
---
24-

content/rest/checks/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,6 @@ children:
1717
autogenerated: rest
1818
---
1919

20-
You can create apps that perform continuous integration, code linting, or code scanning services and provide detailed feedback on commits. For more information, see "[AUTOTITLE](/rest/guides/using-the-rest-api-to-interact-with-checks)" and "[AUTOTITLE](/apps/creating-github-apps/writing-code-for-a-github-app/creating-ci-tests-with-the-checks-api)."
20+
You can create apps that perform continuous integration, code linting, or code scanning services and provide detailed feedback on commits. For more information, see "[AUTOTITLE](/rest/guides/using-the-rest-api-to-interact-with-checks)" and "[AUTOTITLE](/apps/creating-github-apps/writing-code-for-a-github-app/building-ci-checks-with-a-github-app)."
2121

2222
<!-- Content after this section is automatically generated -->

content/rest/guides/using-the-rest-api-to-interact-with-checks.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ Rather than binary pass/fail build statuses, {% data variables.product.prodname_
1919

2020
For an example of how to use the REST API with a {% data variables.product.prodname_github_app %}, see "[AUTOTITLE](/apps/creating-github-apps/guides/creating-ci-tests-with-the-checks-api)."
2121

22+
You can use statuses with [protected branches](/rest/repos#branches) to prevent people from merging pull requests prematurely. For more information, see "[AUTOTITLE](/repositories/configuring-branches-and-merges-in-your-repository/managing-protected-branches/about-protected-branches#require-status-checks-before-merging)."
23+
2224
## About check suites
2325

2426
When someone pushes code to a repository, GitHub creates a check suite for the last commit. A check suite is a collection of the [check runs](/rest/checks#check-runs) created by a single GitHub App for a specific commit. Check suites summarize the status and conclusion of the check runs that a suite includes.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
1. Click **Save changes** at the bottom of the page.
2-
1. If you've installed the app on your account, check your email and follow the link to accept the new permissions. Any time you change your app's permissions or webhooks, users who have installed the app (including yourself) will need to accept the new permissions before the changes take effect. You can also accept the new permissions by navigating to your [installations page](https://github.com/settings/installations) and clicking on "Configure" next to your app. You'll see a banner at the top of the page letting you know that the app is requesting different permissions. Click "Details" and click "Accept new permissions."
2+
1. If you've installed the app on your account, check your email and follow the link to accept the new permissions. Any time you change your app's permissions or webhooks, users who have installed the app (including yourself) will need to accept the new permissions before the changes take effect. You can also accept the new permissions by navigating to your [installations page](https://github.com/settings/installations). You'll see a link under the app name, letting you know that the app is requesting different permissions. Click "Review request", and then click "Accept new permissions."

data/reusables/apps/sinatra_restart_instructions.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

0 commit comments

Comments
 (0)