diff --git a/content/actions/using-workflows/events-that-trigger-workflows.md b/content/actions/using-workflows/events-that-trigger-workflows.md index 68102093bb..697531b1da 100644 --- a/content/actions/using-workflows/events-that-trigger-workflows.md +++ b/content/actions/using-workflows/events-that-trigger-workflows.md @@ -117,7 +117,7 @@ on: {% endnote %} -Runs your workflow when someone creates a Git reference (Git branch or tag) in the workflow's repository. For information about the APIs to create a Git reference, see "[AUTOTITLE](/graphql/reference/mutations#createref)" in the GraphQL API documentation or "[AUTOTITLE](/rest/git#create-a-reference)" in the REST API documentation. +Runs your workflow when someone creates a Git reference (Git branch or tag) in the workflow's repository. For information about the APIs to create a Git reference, see "[AUTOTITLE](/graphql/reference/mutations#createref)" in the GraphQL API documentation or "[AUTOTITLE](/rest/git#create-a-reference)." For example, you can run a workflow when the `create` event occurs. @@ -140,7 +140,7 @@ on: {% endnote %} -Runs your workflow when someone deletes a Git reference (Git branch or tag) in the workflow's repository. For information about the APIs to delete a Git reference, see "[AUTOTITLE](/graphql/reference/mutations#deleteref)" in the GraphQL API documentation or "[AUTOTITLE](/rest/git#delete-a-reference)" in the REST API documentation. +Runs your workflow when someone deletes a Git reference (Git branch or tag) in the workflow's repository. For information about the APIs to delete a Git reference, see "[AUTOTITLE](/graphql/reference/mutations#deleteref)" in the GraphQL API documentation or "[AUTOTITLE](/rest/git#delete-a-reference)." For example, you can run a workflow when the `delete` event occurs. diff --git a/content/admin/policies/enforcing-policy-with-pre-receive-hooks/creating-a-pre-receive-hook-script.md b/content/admin/policies/enforcing-policy-with-pre-receive-hooks/creating-a-pre-receive-hook-script.md index e5dac524e7..78eaef3483 100644 --- a/content/admin/policies/enforcing-policy-with-pre-receive-hooks/creating-a-pre-receive-hook-script.md +++ b/content/admin/policies/enforcing-policy-with-pre-receive-hooks/creating-a-pre-receive-hook-script.md @@ -88,9 +88,9 @@ The `$GITHUB_VIA` variable is available in the pre-receive hook environment when |
blob#save
| Change to a file's contents in the web interface | "[AUTOTITLE](/repositories/working-with-files/managing-files/editing-files)" | |
branch merge api
| Merge of a branch via the API | "[AUTOTITLE](/rest/branches#merge-a-branch)" | |
branches page delete button
| Deletion of a branch in the web interface | "[AUTOTITLE](/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/creating-and-deleting-branches-within-your-repository#deleting-a-branch)" | -|
git refs create api
| Creation of a ref via the API | "[AUTOTITLE](/rest/git#create-a-reference)" in the REST API documentation | -|
git refs delete api
| Deletion of a ref via the API | "[AUTOTITLE](/rest/git#delete-a-reference)" in the REST API documentation | -|
git refs update api
| Update of a ref via the API | "[AUTOTITLE](/rest/git#update-a-reference)" in the REST API documentation | +|
git refs create api
| Creation of a ref via the API | "[AUTOTITLE](/rest/git#create-a-reference)" | +|
git refs delete api
| Deletion of a ref via the API | "[AUTOTITLE](/rest/git#delete-a-reference)" | +|
git refs update api
| Update of a ref via the API | "[AUTOTITLE](/rest/git#update-a-reference)" | |
git repo contents api
| Change to a file's contents via the API | "[AUTOTITLE](/rest/repos#create-or-update-file-contents)" in the REST API documentation | {%- ifversion ghes %} | `merge` | Merge of a pull request using auto-merge | "[AUTOTITLE](/pull-requests/collaborating-with-pull-requests/incorporating-changes-from-a-pull-request/automatically-merging-a-pull-request)" | @@ -103,7 +103,7 @@ The `$GITHUB_VIA` variable is available in the pre-receive hook environment when |
pull request revert button
| Revert of a pull request | "[AUTOTITLE](/pull-requests/collaborating-with-pull-requests/incorporating-changes-from-a-pull-request/reverting-a-pull-request)" | |
releases delete button
| Deletion of a release | "[AUTOTITLE](/repositories/releasing-projects-on-github/managing-releases-in-a-repository#deleting-a-release)" | |
stafftools branch restore
| Restoration of a branch from the site admin dashboard | "[AUTOTITLE](/admin/configuration/configuring-your-enterprise/site-admin-dashboard#repositories)" | -|
tag create api
| Creation of a tag via the API | "[AUTOTITLE](/rest/git#create-a-tag-object)" in the REST API documentation | +|
tag create api
| Creation of a tag via the API | "[AUTOTITLE](/rest/git#create-a-tag-object)" | {%- ifversion ghes < 3.13 %} |
slumlord (#SHA)
| Commit via Subversion | "[AUTOTITLE](/get-started/working-with-subversion-on-github/support-for-subversion-clients#making-commits-to-subversion)" | {%- endif %} diff --git a/content/rest/git/blobs.md b/content/rest/git/blobs.md index e2f884a01e..dd0c3c3524 100644 --- a/content/rest/git/blobs.md +++ b/content/rest/git/blobs.md @@ -1,5 +1,5 @@ --- -title: Git blobs +title: REST API endpoints for Git blobs shortTitle: Blobs allowTitleToDifferFromFilename: true intro: >- diff --git a/content/rest/git/commits.md b/content/rest/git/commits.md index 16bc249ec9..6542f1ef8c 100644 --- a/content/rest/git/commits.md +++ b/content/rest/git/commits.md @@ -1,5 +1,5 @@ --- -title: Git commits +title: REST API endpoints for Git commits shortTitle: Commits allowTitleToDifferFromFilename: true intro: >- diff --git a/content/rest/git/index.md b/content/rest/git/index.md index 4debae4f19..8814ce2303 100644 --- a/content/rest/git/index.md +++ b/content/rest/git/index.md @@ -1,5 +1,6 @@ --- -title: Git database +title: REST API endpoints for Git database +shortTitle: Git database intro: 'Use the REST API to interact with raw Git objects in your Git database on {% data variables.product.product_name %} and to list and update Git references (branch heads and tags).' allowTitleToDifferFromFilename: true redirect_from: diff --git a/content/rest/git/refs.md b/content/rest/git/refs.md index f28f33c6fe..e36c934224 100644 --- a/content/rest/git/refs.md +++ b/content/rest/git/refs.md @@ -1,5 +1,5 @@ --- -title: Git references +title: REST API endpoints for Git references shortTitle: References intro: >- Use the REST API to interact with references in your Git database on {% data diff --git a/content/rest/git/tags.md b/content/rest/git/tags.md index 4990367eb5..92865e7d18 100644 --- a/content/rest/git/tags.md +++ b/content/rest/git/tags.md @@ -1,5 +1,5 @@ --- -title: Git tags +title: REST API endpoints for Git tags shortTitle: Tags allowTitleToDifferFromFilename: true intro: >- diff --git a/content/rest/git/trees.md b/content/rest/git/trees.md index 11be75ee50..52c936a594 100644 --- a/content/rest/git/trees.md +++ b/content/rest/git/trees.md @@ -1,5 +1,5 @@ --- -title: Git trees +title: REST API endpoints for Git trees shortTitle: Trees allowTitleToDifferFromFilename: true intro: >- diff --git a/content/rest/rate-limit/index.md b/content/rest/rate-limit/index.md index 4c3fd57116..748e7065c4 100644 --- a/content/rest/rate-limit/index.md +++ b/content/rest/rate-limit/index.md @@ -1,5 +1,7 @@ --- -title: Rate limit +title: REST API endpoints for rate limits +shortTitle: Rate limit +allowTitleToDifferFromFilename: true intro: Use the REST API to check your current rate limit status. versions: fpt: '*' diff --git a/content/rest/rate-limit/rate-limit.md b/content/rest/rate-limit/rate-limit.md index 9e814ca1f0..4734fd59c4 100644 --- a/content/rest/rate-limit/rate-limit.md +++ b/content/rest/rate-limit/rate-limit.md @@ -1,5 +1,7 @@ --- -title: Rate limit +title: REST API endpoints for rate limits +shortTitle: Rate limit +allowTitleToDifferFromFilename: true intro: Use the REST API to check your current rate limit status. versions: # DO NOT MANUALLY EDIT. CHANGES WILL BE OVERWRITTEN BY A 🤖 fpt: '*' diff --git a/content/rest/reactions/index.md b/content/rest/reactions/index.md index c38af1f8dc..5cd073cba0 100644 --- a/content/rest/reactions/index.md +++ b/content/rest/reactions/index.md @@ -1,5 +1,7 @@ --- -title: Reactions +title: REST API endpoints for reactions +shortTitle: Reactions +allowTitleToDifferFromFilename: true intro: >- Use the REST API to interact with reactions on {% data variables.product.prodname_dotcom %}. diff --git a/content/rest/reactions/reactions.md b/content/rest/reactions/reactions.md index a12ff2d645..9ee1e518cb 100644 --- a/content/rest/reactions/reactions.md +++ b/content/rest/reactions/reactions.md @@ -1,5 +1,7 @@ --- -title: Reactions +title: REST API endpoints for reactions +shortTitle: Reactions +allowTitleToDifferFromFilename: true intro: >- Use the REST API to interact with reactions on {% data variables.product.prodname_dotcom %}. diff --git a/content/rest/releases/assets.md b/content/rest/releases/assets.md index 25e0bcf956..8252882f98 100644 --- a/content/rest/releases/assets.md +++ b/content/rest/releases/assets.md @@ -1,5 +1,6 @@ --- -title: Release Assets +title: REST API endpoints for release assets +shortTitle: Release assets intro: Use the REST API to manage release assets. versions: # DO NOT MANUALLY EDIT. CHANGES WILL BE OVERWRITTEN BY A 🤖 fpt: '*' diff --git a/content/rest/releases/index.md b/content/rest/releases/index.md index f050b7a9ef..2ac1aaac83 100644 --- a/content/rest/releases/index.md +++ b/content/rest/releases/index.md @@ -1,5 +1,6 @@ --- -title: Releases +title: REST API endpoints for releases and release assets +shortTitle: Releases intro: 'Use the REST API to create, modify, and delete releases and release assets.' allowTitleToDifferFromFilename: true versions: diff --git a/content/rest/releases/releases.md b/content/rest/releases/releases.md index 070fcd010b..44c6918370 100644 --- a/content/rest/releases/releases.md +++ b/content/rest/releases/releases.md @@ -1,6 +1,8 @@ --- -title: Releases -intro: 'Use the REST API to create, modify, and delete releases and release assets.' +title: REST API endpoints for releases +shortTitle: Releases +allowTitleToDifferFromFilename: true +intro: 'Use the REST API to create, modify, and delete releases.' versions: # DO NOT MANUALLY EDIT. CHANGES WILL BE OVERWRITTEN BY A 🤖 fpt: '*' ghae: '*' diff --git a/content/rest/search/index.md b/content/rest/search/index.md index 215346359c..ac2dd24eb6 100644 --- a/content/rest/search/index.md +++ b/content/rest/search/index.md @@ -1,5 +1,7 @@ --- -title: Search +title: REST API endpoints for search +shortTitle: Search +allowTitleToDifferFromFilename: true intro: >- Use the REST API to search for specific items on {% data variables.product.product_name %}. diff --git a/content/rest/search/search.md b/content/rest/search/search.md index f065a98501..986c248886 100644 --- a/content/rest/search/search.md +++ b/content/rest/search/search.md @@ -1,5 +1,7 @@ --- -title: Search +title: REST API endpoints for search +shortTitle: Search +allowTitleToDifferFromFilename: true intro: >- Use the REST API to search for specific items on {% data variables.product.product_name %}. diff --git a/data/reusables/webhooks/create_short_desc.md b/data/reusables/webhooks/create_short_desc.md index 4e83bd317d..2ad4e5009e 100644 --- a/data/reusables/webhooks/create_short_desc.md +++ b/data/reusables/webhooks/create_short_desc.md @@ -1 +1 @@ -A Git branch or tag is created. For more information, see the "[AUTOTITLE](/rest/git#create-a-reference)" REST API. +A Git branch or tag is created. For more information, see "[AUTOTITLE](/rest/git#create-a-reference)."