Skip to content

Commit 4644069

Browse files
committed
preserve link updates in comments from previous script run
1 parent 5752ea9 commit 4644069

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

content/developers/apps/creating-ci-tests-with-the-checks-api.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ You'll add this new method as a [Sinatra helper](https://github.com/sinatra/sina
140140
def create_check_run
141141
# # At the time of writing, Octokit does not support the Checks API yet, but
142142
# it does provide generic HTTP methods you can use:
143-
# /v3/checks/runs/#create-a-check-run
143+
# /rest/reference/checks#create-a-check-run
144144
check_run = @installation_client.post(
145145
"repos/#{@payload['repository']['full_name']}/check-runs",
146146
{
@@ -159,7 +159,7 @@ end
159159
def create_check_run
160160
# # At the time of writing, Octokit does not support the Checks API yet, but
161161
# it does provide generic HTTP methods you can use:
162-
# /v3/checks/runs/#create-a-check-run
162+
# /rest/reference/checks#create-a-check-run
163163
check_run = @installation_client.post(
164164
"repos/#{@payload['repository']['full_name']}/check-runs",
165165
{
@@ -240,7 +240,7 @@ def initiate_check_run
240240

241241
# Octokit doesn't yet support the Checks API, but it does provide generic
242242
# HTTP methods you can use:
243-
# /v3/checks/runs/#update-a-check-run
243+
# /rest/reference/checks#update-a-check-run
244244
updated_check_run = @installation_client.patch(
245245
"repos/#{@payload['repository']['full_name']}/check-runs/#{@payload['check_run']['id']}",
246246
{
@@ -276,7 +276,7 @@ def initiate_check_run
276276

277277
# Octokit doesn't yet support the Checks API, but it does provide generic
278278
# HTTP methods you can use:
279-
# /v3/checks/runs/#update-a-check-run
279+
# /rest/reference/checks#update-a-check-run
280280
updated_check_run = @installation_client.patch(
281281
"repos/#{@payload['repository']['full_name']}/check-runs/#{@payload['check_run']['id']}",
282282
{
@@ -536,7 +536,7 @@ annotations = []
536536
# You can create a maximum of 50 annotations per request to the Checks
537537
# API. To add more than 50 annotations, use the "Update a check run" API
538538
# endpoint. This example code limits the number of annotations to 50.
539-
# See /v3/checks/runs/#update-a-check-run
539+
# See /rest/reference/checks#update-a-check-run
540540
# for details.
541541
max_annotations = 50
542542

0 commit comments

Comments
 (0)