diff --git a/content/rest/actions/artifacts.md b/content/rest/actions/artifacts.md index 1e786a1b3d..d97273483e 100644 --- a/content/rest/actions/artifacts.md +++ b/content/rest/actions/artifacts.md @@ -7,7 +7,7 @@ intro: >- variables.product.prodname_actions %}. topics: - API -versions: +versions: # DO NOT MANUALLY EDIT. CHANGES WILL BE OVERWRITTEN BY A 🤖 fpt: '*' ghae: '*' ghec: '*' diff --git a/content/rest/actions/cache.md b/content/rest/actions/cache.md index cfb5d48567..6122bf45d3 100644 --- a/content/rest/actions/cache.md +++ b/content/rest/actions/cache.md @@ -7,7 +7,7 @@ intro: >- variables.product.prodname_actions %}. topics: - API -versions: +versions: # DO NOT MANUALLY EDIT. CHANGES WILL BE OVERWRITTEN BY A 🤖 fpt: '*' ghec: '*' ghes: '*' diff --git a/content/rest/actions/oidc.md b/content/rest/actions/oidc.md index 3230aafb89..ad90d32457 100644 --- a/content/rest/actions/oidc.md +++ b/content/rest/actions/oidc.md @@ -7,7 +7,7 @@ intro: >- variables.product.prodname_actions %}. topics: - API -versions: +versions: # DO NOT MANUALLY EDIT. CHANGES WILL BE OVERWRITTEN BY A 🤖 fpt: '*' ghec: '*' ghes: '>=3.7' diff --git a/content/rest/actions/permissions.md b/content/rest/actions/permissions.md index 80d05873ff..e777fa169f 100644 --- a/content/rest/actions/permissions.md +++ b/content/rest/actions/permissions.md @@ -7,7 +7,7 @@ intro: >- variables.product.prodname_actions %}. topics: - API -versions: +versions: # DO NOT MANUALLY EDIT. CHANGES WILL BE OVERWRITTEN BY A 🤖 fpt: '*' ghae: '*' ghec: '*' diff --git a/content/rest/actions/secrets.md b/content/rest/actions/secrets.md index 4da4e361dc..4053622498 100644 --- a/content/rest/actions/secrets.md +++ b/content/rest/actions/secrets.md @@ -7,7 +7,7 @@ intro: >- variables.product.prodname_actions %}. topics: - API -versions: +versions: # DO NOT MANUALLY EDIT. CHANGES WILL BE OVERWRITTEN BY A 🤖 fpt: '*' ghae: '*' ghec: '*' diff --git a/content/rest/actions/self-hosted-runner-groups.md b/content/rest/actions/self-hosted-runner-groups.md index 9dd13d3d5d..0e53c56d13 100644 --- a/content/rest/actions/self-hosted-runner-groups.md +++ b/content/rest/actions/self-hosted-runner-groups.md @@ -5,7 +5,7 @@ intro: >- variables.product.prodname_actions %}. topics: - API -versions: +versions: # DO NOT MANUALLY EDIT. CHANGES WILL BE OVERWRITTEN BY A 🤖 ghae: '*' ghec: '*' ghes: '*' diff --git a/content/rest/actions/self-hosted-runners.md b/content/rest/actions/self-hosted-runners.md index 4b14128684..66bbb2773c 100644 --- a/content/rest/actions/self-hosted-runners.md +++ b/content/rest/actions/self-hosted-runners.md @@ -5,7 +5,7 @@ intro: >- variables.product.prodname_actions %}. topics: - API -versions: +versions: # DO NOT MANUALLY EDIT. CHANGES WILL BE OVERWRITTEN BY A 🤖 fpt: '*' ghae: '*' ghec: '*' diff --git a/content/rest/actions/variables.md b/content/rest/actions/variables.md index 88af30f8ed..c6fe7cce6c 100644 --- a/content/rest/actions/variables.md +++ b/content/rest/actions/variables.md @@ -7,7 +7,7 @@ intro: >- variables.product.prodname_actions %}. topics: - API -versions: +versions: # DO NOT MANUALLY EDIT. CHANGES WILL BE OVERWRITTEN BY A 🤖 fpt: '*' ghec: '*' ghes: '>=3.8' diff --git a/content/rest/actions/workflow-jobs.md b/content/rest/actions/workflow-jobs.md index 94c8e059f2..b5fb5f2037 100644 --- a/content/rest/actions/workflow-jobs.md +++ b/content/rest/actions/workflow-jobs.md @@ -5,7 +5,7 @@ intro: >- variables.product.prodname_actions %}. topics: - API -versions: +versions: # DO NOT MANUALLY EDIT. CHANGES WILL BE OVERWRITTEN BY A 🤖 fpt: '*' ghae: '*' ghec: '*' diff --git a/content/rest/actions/workflow-runs.md b/content/rest/actions/workflow-runs.md index 6590fa1a0e..d1f7a80263 100644 --- a/content/rest/actions/workflow-runs.md +++ b/content/rest/actions/workflow-runs.md @@ -5,7 +5,7 @@ intro: >- variables.product.prodname_actions %}. topics: - API -versions: +versions: # DO NOT MANUALLY EDIT. CHANGES WILL BE OVERWRITTEN BY A 🤖 fpt: '*' ghae: '*' ghec: '*' diff --git a/content/rest/actions/workflows.md b/content/rest/actions/workflows.md index 8902034d0c..5bbdbb7d74 100644 --- a/content/rest/actions/workflows.md +++ b/content/rest/actions/workflows.md @@ -5,7 +5,7 @@ intro: >- variables.product.prodname_actions %}. topics: - API -versions: +versions: # DO NOT MANUALLY EDIT. CHANGES WILL BE OVERWRITTEN BY A 🤖 fpt: '*' ghae: '*' ghec: '*' diff --git a/content/rest/activity/events.md b/content/rest/activity/events.md index 741fa5df21..0378110266 100644 --- a/content/rest/activity/events.md +++ b/content/rest/activity/events.md @@ -3,7 +3,7 @@ title: Events intro: >- Use the REST API to interact with {% data variables.product.prodname_dotcom %} events. -versions: +versions: # DO NOT MANUALLY EDIT. CHANGES WILL BE OVERWRITTEN BY A 🤖 fpt: '*' ghae: '*' ghec: '*' diff --git a/content/rest/activity/feeds.md b/content/rest/activity/feeds.md index 8bc3360657..0c01ecf5c2 100644 --- a/content/rest/activity/feeds.md +++ b/content/rest/activity/feeds.md @@ -3,7 +3,7 @@ title: Feeds intro: >- Use the REST API to interact with {% data variables.product.prodname_dotcom %} feeds. -versions: +versions: # DO NOT MANUALLY EDIT. CHANGES WILL BE OVERWRITTEN BY A 🤖 fpt: '*' ghae: '*' ghec: '*' diff --git a/content/rest/activity/notifications.md b/content/rest/activity/notifications.md index bf5d5cdf6e..6217e4c761 100644 --- a/content/rest/activity/notifications.md +++ b/content/rest/activity/notifications.md @@ -3,7 +3,7 @@ title: Notifications intro: >- Use the REST API to manage {% data variables.product.product_name %} notifications. -versions: +versions: # DO NOT MANUALLY EDIT. CHANGES WILL BE OVERWRITTEN BY A 🤖 fpt: '*' ghae: '*' ghec: '*' diff --git a/content/rest/activity/starring.md b/content/rest/activity/starring.md index 18ed25be1b..80914756eb 100644 --- a/content/rest/activity/starring.md +++ b/content/rest/activity/starring.md @@ -1,7 +1,7 @@ --- title: Starring intro: Use the REST API to bookmark a repository. -versions: +versions: # DO NOT MANUALLY EDIT. CHANGES WILL BE OVERWRITTEN BY A 🤖 fpt: '*' ghae: '*' ghec: '*' diff --git a/content/rest/activity/watching.md b/content/rest/activity/watching.md index a638d001f3..632fdfdc5f 100644 --- a/content/rest/activity/watching.md +++ b/content/rest/activity/watching.md @@ -1,7 +1,7 @@ --- title: Watching intro: Use the REST API to subscribe to notifications for activity in a repository. -versions: +versions: # DO NOT MANUALLY EDIT. CHANGES WILL BE OVERWRITTEN BY A 🤖 fpt: '*' ghae: '*' ghec: '*' diff --git a/content/rest/announcement-banners/enterprises.md b/content/rest/announcement-banners/enterprises.md index d0f70d3408..758e339d11 100644 --- a/content/rest/announcement-banners/enterprises.md +++ b/content/rest/announcement-banners/enterprises.md @@ -4,7 +4,7 @@ shortTitle: Enterprise intro: >- The Enterprise Announcement Banners API allows you to get, set, and remove the announcement banner for your enterprise. -versions: +versions: # DO NOT MANUALLY EDIT. CHANGES WILL BE OVERWRITTEN BY A 🤖 ghec: '*' allowTitleToDifferFromFilename: true autogenerated: rest diff --git a/content/rest/announcement-banners/organizations.md b/content/rest/announcement-banners/organizations.md index 89283d5e53..d026958a5d 100644 --- a/content/rest/announcement-banners/organizations.md +++ b/content/rest/announcement-banners/organizations.md @@ -4,7 +4,7 @@ shortTitle: Organization intro: >- The Organization Announcement Banners API allows you to get, set, and remove the announcement banner for your organization. -versions: +versions: # DO NOT MANUALLY EDIT. CHANGES WILL BE OVERWRITTEN BY A 🤖 ghec: '*' ghes: '>=3.8' allowTitleToDifferFromFilename: true diff --git a/content/rest/apps/apps.md b/content/rest/apps/apps.md index d5f6fdb40d..d04955b1e1 100644 --- a/content/rest/apps/apps.md +++ b/content/rest/apps/apps.md @@ -6,7 +6,7 @@ intro: >- variables.product.prodname_github_apps %} topics: - API -versions: +versions: # DO NOT MANUALLY EDIT. CHANGES WILL BE OVERWRITTEN BY A 🤖 fpt: '*' ghae: '*' ghec: '*' diff --git a/content/rest/apps/installations.md b/content/rest/apps/installations.md index f08cf47c1d..30f23f40d2 100644 --- a/content/rest/apps/installations.md +++ b/content/rest/apps/installations.md @@ -8,7 +8,7 @@ intro: >- within those installations. topics: - API -versions: +versions: # DO NOT MANUALLY EDIT. CHANGES WILL BE OVERWRITTEN BY A 🤖 fpt: '*' ghae: '*' ghec: '*' diff --git a/content/rest/apps/marketplace.md b/content/rest/apps/marketplace.md index 9b904d360d..d274876966 100644 --- a/content/rest/apps/marketplace.md +++ b/content/rest/apps/marketplace.md @@ -7,7 +7,7 @@ intro: >- variables.product.prodname_marketplace %} topics: - API -versions: +versions: # DO NOT MANUALLY EDIT. CHANGES WILL BE OVERWRITTEN BY A 🤖 fpt: '*' ghec: '*' autogenerated: rest diff --git a/content/rest/apps/oauth-applications.md b/content/rest/apps/oauth-applications.md index 4e39bbea39..c890964578 100644 --- a/content/rest/apps/oauth-applications.md +++ b/content/rest/apps/oauth-applications.md @@ -7,7 +7,7 @@ intro: >- variables.product.prodname_github_apps %} topics: - API -versions: +versions: # DO NOT MANUALLY EDIT. CHANGES WILL BE OVERWRITTEN BY A 🤖 fpt: '*' ghae: '*' ghec: '*' diff --git a/content/rest/apps/webhooks.md b/content/rest/apps/webhooks.md index 8de0b87c7d..e4624f5314 100644 --- a/content/rest/apps/webhooks.md +++ b/content/rest/apps/webhooks.md @@ -7,7 +7,7 @@ intro: >- variables.product.prodname_oauth_apps %} topics: - API -versions: +versions: # DO NOT MANUALLY EDIT. CHANGES WILL BE OVERWRITTEN BY A 🤖 fpt: '*' ghae: '*' ghec: '*' diff --git a/content/rest/billing/billing.md b/content/rest/billing/billing.md index be35aed659..cfdb68c882 100644 --- a/content/rest/billing/billing.md +++ b/content/rest/billing/billing.md @@ -3,7 +3,7 @@ title: Billing intro: Use the REST API to get billing information for an enterprise. topics: - API -versions: +versions: # DO NOT MANUALLY EDIT. CHANGES WILL BE OVERWRITTEN BY A 🤖 fpt: '*' ghec: '*' ghes: '*' diff --git a/content/rest/branches/branch-protection.md b/content/rest/branches/branch-protection.md index 6b133cf188..93f115b335 100644 --- a/content/rest/branches/branch-protection.md +++ b/content/rest/branches/branch-protection.md @@ -1,7 +1,7 @@ --- title: Protected branches intro: Use the REST API to manage protected branches. -versions: +versions: # DO NOT MANUALLY EDIT. CHANGES WILL BE OVERWRITTEN BY A 🤖 fpt: '*' ghae: '*' ghec: '*' diff --git a/content/rest/branches/branches.md b/content/rest/branches/branches.md index 74ea1cf8b6..0c8725be9d 100644 --- a/content/rest/branches/branches.md +++ b/content/rest/branches/branches.md @@ -1,7 +1,7 @@ --- title: Branches intro: Use the REST API to modify branches and their protection settings. -versions: +versions: # DO NOT MANUALLY EDIT. CHANGES WILL BE OVERWRITTEN BY A 🤖 fpt: '*' ghae: '*' ghec: '*' diff --git a/content/rest/checks/runs.md b/content/rest/checks/runs.md index 0cbf31e850..010b542338 100644 --- a/content/rest/checks/runs.md +++ b/content/rest/checks/runs.md @@ -1,7 +1,7 @@ --- title: Check Runs intro: Use the REST API to manage check runs. -versions: +versions: # DO NOT MANUALLY EDIT. CHANGES WILL BE OVERWRITTEN BY A 🤖 fpt: '*' ghae: '*' ghec: '*' diff --git a/content/rest/checks/suites.md b/content/rest/checks/suites.md index 0589250b7e..be1e282ea9 100644 --- a/content/rest/checks/suites.md +++ b/content/rest/checks/suites.md @@ -1,7 +1,7 @@ --- title: Check Suites intro: Use the REST API to manage check suites. -versions: +versions: # DO NOT MANUALLY EDIT. CHANGES WILL BE OVERWRITTEN BY A 🤖 fpt: '*' ghae: '*' ghec: '*' diff --git a/content/rest/code-scanning/code-scanning.md b/content/rest/code-scanning/code-scanning.md index 16099ad3b5..701276fe58 100644 --- a/content/rest/code-scanning/code-scanning.md +++ b/content/rest/code-scanning/code-scanning.md @@ -3,7 +3,7 @@ title: Code Scanning intro: >- Use the REST API to retrieve and update {% data variables.product.prodname_code_scanning %} alerts from a repository. -versions: +versions: # DO NOT MANUALLY EDIT. CHANGES WILL BE OVERWRITTEN BY A 🤖 fpt: '*' ghae: '*' ghec: '*' diff --git a/content/rest/codes-of-conduct/codes-of-conduct.md b/content/rest/codes-of-conduct/codes-of-conduct.md index d4c811c92e..2050930755 100644 --- a/content/rest/codes-of-conduct/codes-of-conduct.md +++ b/content/rest/codes-of-conduct/codes-of-conduct.md @@ -1,7 +1,7 @@ --- title: Codes of conduct intro: Use the REST API to get information about codes of conduct. -versions: +versions: # DO NOT MANUALLY EDIT. CHANGES WILL BE OVERWRITTEN BY A 🤖 fpt: '*' ghae: '*' ghec: '*' diff --git a/content/rest/codespaces/codespaces.md b/content/rest/codespaces/codespaces.md index b4c7b4cdaa..d91343180f 100644 --- a/content/rest/codespaces/codespaces.md +++ b/content/rest/codespaces/codespaces.md @@ -3,7 +3,7 @@ title: Codespaces intro: >- Use the REST API to manage {% data variables.product.prodname_github_codespaces %}. -versions: +versions: # DO NOT MANUALLY EDIT. CHANGES WILL BE OVERWRITTEN BY A 🤖 fpt: '*' ghec: '*' topics: diff --git a/content/rest/codespaces/machines.md b/content/rest/codespaces/machines.md index 9407337fe1..5c0b1e3b21 100644 --- a/content/rest/codespaces/machines.md +++ b/content/rest/codespaces/machines.md @@ -3,7 +3,7 @@ title: Codespaces machines allowTitleToDifferFromFilename: true shortTitle: Machines intro: Use the REST API to manage availability of machine types for a codespace. -versions: +versions: # DO NOT MANUALLY EDIT. CHANGES WILL BE OVERWRITTEN BY A 🤖 fpt: '*' ghec: '*' topics: diff --git a/content/rest/codespaces/organization-secrets.md b/content/rest/codespaces/organization-secrets.md index 835b9f6dad..0cf5e6a531 100644 --- a/content/rest/codespaces/organization-secrets.md +++ b/content/rest/codespaces/organization-secrets.md @@ -5,7 +5,7 @@ shortTitle: Organization secrets intro: >- Use the REST API to manage your organization-level {% data variables.product.prodname_codespaces %} secrets. -versions: +versions: # DO NOT MANUALLY EDIT. CHANGES WILL BE OVERWRITTEN BY A 🤖 fpt: '*' ghec: '*' topics: diff --git a/content/rest/codespaces/organizations.md b/content/rest/codespaces/organizations.md index e77ce3d6b9..4c2af44812 100644 --- a/content/rest/codespaces/organizations.md +++ b/content/rest/codespaces/organizations.md @@ -3,7 +3,7 @@ title: Codespaces organizations allowTitleToDifferFromFilename: true shortTitle: Organizations intro: Use the REST API to manage your organization members codespaces. -versions: +versions: # DO NOT MANUALLY EDIT. CHANGES WILL BE OVERWRITTEN BY A 🤖 fpt: '*' ghec: '*' topics: diff --git a/content/rest/codespaces/repository-secrets.md b/content/rest/codespaces/repository-secrets.md index 0fbfe507cf..ddc752cb42 100644 --- a/content/rest/codespaces/repository-secrets.md +++ b/content/rest/codespaces/repository-secrets.md @@ -8,7 +8,7 @@ intro: >- permissions: >- Users with write access to a repository can manage {% data variables.product.prodname_codespaces %} repository secrets. -versions: +versions: # DO NOT MANUALLY EDIT. CHANGES WILL BE OVERWRITTEN BY A 🤖 fpt: '*' ghec: '*' topics: diff --git a/content/rest/codespaces/secrets.md b/content/rest/codespaces/secrets.md index 9035e6aea1..eee1dcae0d 100644 --- a/content/rest/codespaces/secrets.md +++ b/content/rest/codespaces/secrets.md @@ -3,7 +3,7 @@ title: Codespaces user secrets allowTitleToDifferFromFilename: true shortTitle: User secrets intro: Use the REST API manage secrets that the user has access to in a codespace. -versions: +versions: # DO NOT MANUALLY EDIT. CHANGES WILL BE OVERWRITTEN BY A 🤖 fpt: '*' ghec: '*' topics: diff --git a/content/rest/collaborators/collaborators.md b/content/rest/collaborators/collaborators.md index 4852509b16..ea61481a0b 100644 --- a/content/rest/collaborators/collaborators.md +++ b/content/rest/collaborators/collaborators.md @@ -1,7 +1,7 @@ --- title: Collaborators intro: Use the REST API to manage collaborators for a repository. -versions: +versions: # DO NOT MANUALLY EDIT. CHANGES WILL BE OVERWRITTEN BY A 🤖 fpt: '*' ghae: '*' ghec: '*' diff --git a/content/rest/collaborators/invitations.md b/content/rest/collaborators/invitations.md index 98e09467b2..5a5ec063fb 100644 --- a/content/rest/collaborators/invitations.md +++ b/content/rest/collaborators/invitations.md @@ -5,7 +5,7 @@ shortTitle: Invitations intro: >- Use the REST API to view and manage invitations to collaborate on a repository. -versions: +versions: # DO NOT MANUALLY EDIT. CHANGES WILL BE OVERWRITTEN BY A 🤖 fpt: '*' ghae: '*' ghec: '*' diff --git a/content/rest/commits/comments.md b/content/rest/commits/comments.md index b5fcd5cea4..04dffc06e2 100644 --- a/content/rest/commits/comments.md +++ b/content/rest/commits/comments.md @@ -1,7 +1,7 @@ --- title: Commit comments intro: Use the REST API to interact with commit comments. -versions: +versions: # DO NOT MANUALLY EDIT. CHANGES WILL BE OVERWRITTEN BY A 🤖 fpt: '*' ghae: '*' ghec: '*' diff --git a/content/rest/commits/commits.md b/content/rest/commits/commits.md index e1ba8c9553..db7fcf51e1 100644 --- a/content/rest/commits/commits.md +++ b/content/rest/commits/commits.md @@ -1,7 +1,7 @@ --- title: Commits intro: Use the REST API to interact with commits. -versions: +versions: # DO NOT MANUALLY EDIT. CHANGES WILL BE OVERWRITTEN BY A 🤖 fpt: '*' ghae: '*' ghec: '*' diff --git a/content/rest/commits/statuses.md b/content/rest/commits/statuses.md index cde82f843e..fa3de3935b 100644 --- a/content/rest/commits/statuses.md +++ b/content/rest/commits/statuses.md @@ -1,7 +1,7 @@ --- title: Commit statuses intro: Use the REST API to interact with commit statuses. -versions: +versions: # DO NOT MANUALLY EDIT. CHANGES WILL BE OVERWRITTEN BY A 🤖 fpt: '*' ghae: '*' ghec: '*' diff --git a/content/rest/dependabot/alerts.md b/content/rest/dependabot/alerts.md index 90e4eaabec..34bcaaa7a6 100644 --- a/content/rest/dependabot/alerts.md +++ b/content/rest/dependabot/alerts.md @@ -5,7 +5,7 @@ shortTitle: Alerts intro: >- Use the REST API to interact with {% data variables.product.prodname_dependabot %} alerts for a repository. -versions: +versions: # DO NOT MANUALLY EDIT. CHANGES WILL BE OVERWRITTEN BY A 🤖 fpt: '*' ghec: '*' ghes: '>=3.8' diff --git a/content/rest/dependabot/secrets.md b/content/rest/dependabot/secrets.md index 3d465f9836..5e54f10f78 100644 --- a/content/rest/dependabot/secrets.md +++ b/content/rest/dependabot/secrets.md @@ -6,7 +6,7 @@ intro: >- secrets for an organization or repository. topics: - API -versions: +versions: # DO NOT MANUALLY EDIT. CHANGES WILL BE OVERWRITTEN BY A 🤖 fpt: '*' ghec: '*' ghes: '*' diff --git a/content/rest/dependency-graph/dependency-review.md b/content/rest/dependency-graph/dependency-review.md index b512a9a18a..b032e74c29 100644 --- a/content/rest/dependency-graph/dependency-review.md +++ b/content/rest/dependency-graph/dependency-review.md @@ -1,7 +1,7 @@ --- title: Dependency review intro: Use the REST API to interact with dependency changes. -versions: +versions: # DO NOT MANUALLY EDIT. CHANGES WILL BE OVERWRITTEN BY A 🤖 fpt: '*' ghec: '*' ghes: '>=3.6' diff --git a/content/rest/dependency-graph/dependency-submission.md b/content/rest/dependency-graph/dependency-submission.md index 5278f6c4c6..d356455703 100644 --- a/content/rest/dependency-graph/dependency-submission.md +++ b/content/rest/dependency-graph/dependency-submission.md @@ -1,7 +1,7 @@ --- title: Dependency submission intro: Use the REST API to submit dependencies. -versions: +versions: # DO NOT MANUALLY EDIT. CHANGES WILL BE OVERWRITTEN BY A 🤖 fpt: '*' ghec: '*' ghes: '>=3.7' diff --git a/content/rest/dependency-graph/sboms.md b/content/rest/dependency-graph/sboms.md index afaf93d969..03c91d4637 100644 --- a/content/rest/dependency-graph/sboms.md +++ b/content/rest/dependency-graph/sboms.md @@ -4,7 +4,7 @@ shortTitle: Software bill of materials (SBOM) intro: >- Use the REST API to export the software bill of materials (SBOM) for a repository. -versions: +versions: # DO NOT MANUALLY EDIT. CHANGES WILL BE OVERWRITTEN BY A 🤖 fpt: '*' ghec: '*' ghes: '>=3.9' diff --git a/content/rest/deploy-keys/deploy-keys.md b/content/rest/deploy-keys/deploy-keys.md index c9f28d7730..8f4db7fd9b 100644 --- a/content/rest/deploy-keys/deploy-keys.md +++ b/content/rest/deploy-keys/deploy-keys.md @@ -1,7 +1,7 @@ --- title: Deploy keys intro: Use the REST API to create and manage deploy keys. -versions: +versions: # DO NOT MANUALLY EDIT. CHANGES WILL BE OVERWRITTEN BY A 🤖 fpt: '*' ghae: '*' ghec: '*' diff --git a/content/rest/deployments/branch-policies.md b/content/rest/deployments/branch-policies.md index f6cda62442..4c8b79815f 100644 --- a/content/rest/deployments/branch-policies.md +++ b/content/rest/deployments/branch-policies.md @@ -3,7 +3,7 @@ title: Deployment branch policies allowTitleToDifferFromFilename: true shortTitle: Deployment branch policies intro: Use the REST API to manage custom deployment branch policies. -versions: +versions: # DO NOT MANUALLY EDIT. CHANGES WILL BE OVERWRITTEN BY A 🤖 fpt: '*' ghae: '*' ghec: '*' diff --git a/content/rest/deployments/deployments.md b/content/rest/deployments/deployments.md index 69a10b80ef..0ebe46b553 100644 --- a/content/rest/deployments/deployments.md +++ b/content/rest/deployments/deployments.md @@ -1,7 +1,7 @@ --- title: Deployments intro: Use the REST API to create and delete deployments and deployment environments. -versions: +versions: # DO NOT MANUALLY EDIT. CHANGES WILL BE OVERWRITTEN BY A 🤖 fpt: '*' ghae: '*' ghec: '*' diff --git a/content/rest/deployments/environments.md b/content/rest/deployments/environments.md index 33e24b44a0..dc4e875b21 100644 --- a/content/rest/deployments/environments.md +++ b/content/rest/deployments/environments.md @@ -3,7 +3,7 @@ title: Deployment environments allowTitleToDifferFromFilename: true shortTitle: Environments intro: 'Use the REST API to create, configure, and delete deployment environments.' -versions: +versions: # DO NOT MANUALLY EDIT. CHANGES WILL BE OVERWRITTEN BY A 🤖 fpt: '*' ghae: '*' ghec: '*' diff --git a/content/rest/deployments/protection-rules.md b/content/rest/deployments/protection-rules.md index 578dcea899..b4a5e76063 100644 --- a/content/rest/deployments/protection-rules.md +++ b/content/rest/deployments/protection-rules.md @@ -2,7 +2,7 @@ title: Protection rules shortTitle: Protection rules intro: 'Use the REST API to create, configure, and delete deployment protection rules.' -versions: +versions: # DO NOT MANUALLY EDIT. CHANGES WILL BE OVERWRITTEN BY A 🤖 fpt: '*' ghec: '*' topics: diff --git a/content/rest/deployments/statuses.md b/content/rest/deployments/statuses.md index 6dc3f06ebb..bc2d2d15b1 100644 --- a/content/rest/deployments/statuses.md +++ b/content/rest/deployments/statuses.md @@ -1,7 +1,7 @@ --- title: Deployment statuses intro: Use the REST API to manage deployment statuses. -versions: +versions: # DO NOT MANUALLY EDIT. CHANGES WILL BE OVERWRITTEN BY A 🤖 fpt: '*' ghae: '*' ghec: '*' diff --git a/content/rest/emojis/emojis.md b/content/rest/emojis/emojis.md index 97c4266167..f99fe7021b 100644 --- a/content/rest/emojis/emojis.md +++ b/content/rest/emojis/emojis.md @@ -3,7 +3,7 @@ title: Emojis intro: >- Use the REST API to list and view all the available emojis to use on {% data variables.product.product_name %}. -versions: +versions: # DO NOT MANUALLY EDIT. CHANGES WILL BE OVERWRITTEN BY A 🤖 fpt: '*' ghae: '*' ghec: '*' diff --git a/content/rest/enterprise-admin/admin-stats.md b/content/rest/enterprise-admin/admin-stats.md index 3f0265b74f..aac2b40970 100644 --- a/content/rest/enterprise-admin/admin-stats.md +++ b/content/rest/enterprise-admin/admin-stats.md @@ -1,7 +1,7 @@ --- title: Admin stats intro: Use the REST API to retrieve a variety of metrics about your installation. -versions: +versions: # DO NOT MANUALLY EDIT. CHANGES WILL BE OVERWRITTEN BY A 🤖 ghae: '*' ghec: '*' ghes: '*' diff --git a/content/rest/enterprise-admin/announcement.md b/content/rest/enterprise-admin/announcement.md index 384f8bad61..f2c7cd3556 100644 --- a/content/rest/enterprise-admin/announcement.md +++ b/content/rest/enterprise-admin/announcement.md @@ -1,7 +1,7 @@ --- title: Announcement intro: Use the REST API to manage the global announcement banner in your enterprise. -versions: +versions: # DO NOT MANUALLY EDIT. CHANGES WILL BE OVERWRITTEN BY A 🤖 ghae: '*' ghes: '*' topics: diff --git a/content/rest/enterprise-admin/audit-log.md b/content/rest/enterprise-admin/audit-log.md index 44d423ca15..4355b8cba2 100644 --- a/content/rest/enterprise-admin/audit-log.md +++ b/content/rest/enterprise-admin/audit-log.md @@ -1,7 +1,7 @@ --- title: Audit log intro: Use the REST API to retrieve audit logs for an enterprise. -versions: +versions: # DO NOT MANUALLY EDIT. CHANGES WILL BE OVERWRITTEN BY A 🤖 ghae: '*' ghec: '*' ghes: '*' diff --git a/content/rest/enterprise-admin/billing.md b/content/rest/enterprise-admin/billing.md index 07855534c0..bfe72af7bf 100644 --- a/content/rest/enterprise-admin/billing.md +++ b/content/rest/enterprise-admin/billing.md @@ -1,8 +1,9 @@ --- title: Billing intro: >- - Use the REST API to retrieve the billing information for a {% data variables.product.prodname_ghe_server %} instance. -versions: + Use the REST API to retrieve the billing information for a {% data + variables.product.prodname_ghe_server %} instance. +versions: # DO NOT MANUALLY EDIT. CHANGES WILL BE OVERWRITTEN BY A 🤖 ghec: '*' ghes: '*' topics: diff --git a/content/rest/enterprise-admin/code-security-and-analysis.md b/content/rest/enterprise-admin/code-security-and-analysis.md index eede98e3c3..15bc98374f 100644 --- a/content/rest/enterprise-admin/code-security-and-analysis.md +++ b/content/rest/enterprise-admin/code-security-and-analysis.md @@ -3,7 +3,7 @@ title: Code security and analysis intro: >- Use the REST API to manage code security and analysis features for your enterprise. -versions: +versions: # DO NOT MANUALLY EDIT. CHANGES WILL BE OVERWRITTEN BY A 🤖 ghec: '*' ghes: '>=3.8' topics: diff --git a/content/rest/enterprise-admin/global-webhooks.md b/content/rest/enterprise-admin/global-webhooks.md index f412e96712..9c52bca93c 100644 --- a/content/rest/enterprise-admin/global-webhooks.md +++ b/content/rest/enterprise-admin/global-webhooks.md @@ -1,7 +1,7 @@ --- title: Global Webhooks intro: Use the REST API to manage global webhooks for your enterprise. -versions: +versions: # DO NOT MANUALLY EDIT. CHANGES WILL BE OVERWRITTEN BY A 🤖 ghae: '*' ghes: '*' topics: diff --git a/content/rest/enterprise-admin/ldap.md b/content/rest/enterprise-admin/ldap.md index 5ec841fee1..6394207c6a 100644 --- a/content/rest/enterprise-admin/ldap.md +++ b/content/rest/enterprise-admin/ldap.md @@ -4,7 +4,7 @@ intro: >- Use the REST API to update account relationships between a {% data variables.product.product_name %} user or team and its linked LDAP entry or queue a new synchronization. -versions: +versions: # DO NOT MANUALLY EDIT. CHANGES WILL BE OVERWRITTEN BY A 🤖 ghes: '*' topics: - API diff --git a/content/rest/enterprise-admin/license.md b/content/rest/enterprise-admin/license.md index 623139a498..83c30d7fd0 100644 --- a/content/rest/enterprise-admin/license.md +++ b/content/rest/enterprise-admin/license.md @@ -1,7 +1,7 @@ --- title: License intro: Use the REST API to retrieve information about your Enterprise license. -versions: +versions: # DO NOT MANUALLY EDIT. CHANGES WILL BE OVERWRITTEN BY A 🤖 ghae: '*' ghec: '*' ghes: '*' diff --git a/content/rest/enterprise-admin/manage-ghes.md b/content/rest/enterprise-admin/manage-ghes.md index af88751837..d8342afa53 100644 --- a/content/rest/enterprise-admin/manage-ghes.md +++ b/content/rest/enterprise-admin/manage-ghes.md @@ -5,7 +5,7 @@ shortTitle: Manage GHES intro: >- Use the REST API to manage your {% data variables.product.product_name %} instance. -versions: +versions: # DO NOT MANUALLY EDIT. CHANGES WILL BE OVERWRITTEN BY A 🤖 ghes: '>=3.9' topics: - API diff --git a/content/rest/enterprise-admin/management-console.md b/content/rest/enterprise-admin/management-console.md index 5f26256291..37b53bedbd 100644 --- a/content/rest/enterprise-admin/management-console.md +++ b/content/rest/enterprise-admin/management-console.md @@ -3,7 +3,7 @@ title: Management Console intro: >- Use the REST API to manage your {% data variables.product.product_name %} installation. -versions: +versions: # DO NOT MANUALLY EDIT. CHANGES WILL BE OVERWRITTEN BY A 🤖 ghes: '*' topics: - API diff --git a/content/rest/enterprise-admin/org-pre-receive-hooks.md b/content/rest/enterprise-admin/org-pre-receive-hooks.md index 2def494f3b..2fec38c9fe 100644 --- a/content/rest/enterprise-admin/org-pre-receive-hooks.md +++ b/content/rest/enterprise-admin/org-pre-receive-hooks.md @@ -3,7 +3,7 @@ title: Organization Pre-receive Hooks intro: >- Use the REST API to view and modify enforcement of the pre-receive hooks that are available to an organization. -versions: +versions: # DO NOT MANUALLY EDIT. CHANGES WILL BE OVERWRITTEN BY A 🤖 ghes: '*' topics: - API diff --git a/content/rest/enterprise-admin/orgs.md b/content/rest/enterprise-admin/orgs.md index 8adf46cea7..a64a96b3c2 100644 --- a/content/rest/enterprise-admin/orgs.md +++ b/content/rest/enterprise-admin/orgs.md @@ -1,7 +1,7 @@ --- title: Organizations intro: Use the REST API to create organizations on your enterprise. -versions: +versions: # DO NOT MANUALLY EDIT. CHANGES WILL BE OVERWRITTEN BY A 🤖 ghae: '*' ghes: '*' topics: diff --git a/content/rest/enterprise-admin/pre-receive-environments.md b/content/rest/enterprise-admin/pre-receive-environments.md index 55495c64ee..bd12446905 100644 --- a/content/rest/enterprise-admin/pre-receive-environments.md +++ b/content/rest/enterprise-admin/pre-receive-environments.md @@ -3,7 +3,7 @@ title: Pre-receive Environments intro: >- Use the REST API to create, list, update and delete environments for pre-receive hooks. -versions: +versions: # DO NOT MANUALLY EDIT. CHANGES WILL BE OVERWRITTEN BY A 🤖 ghae: '*' ghes: '*' topics: diff --git a/content/rest/enterprise-admin/pre-receive-hooks.md b/content/rest/enterprise-admin/pre-receive-hooks.md index 4f94c1b207..ba589feb51 100644 --- a/content/rest/enterprise-admin/pre-receive-hooks.md +++ b/content/rest/enterprise-admin/pre-receive-hooks.md @@ -1,7 +1,7 @@ --- title: Pre-receive Hooks intro: 'Use the REST API to create, list, update and delete pre-receive hooks.' -versions: +versions: # DO NOT MANUALLY EDIT. CHANGES WILL BE OVERWRITTEN BY A 🤖 ghes: '*' topics: - API diff --git a/content/rest/enterprise-admin/repo-pre-receive-hooks.md b/content/rest/enterprise-admin/repo-pre-receive-hooks.md index 69aaebca89..e34afcc4d6 100644 --- a/content/rest/enterprise-admin/repo-pre-receive-hooks.md +++ b/content/rest/enterprise-admin/repo-pre-receive-hooks.md @@ -3,7 +3,7 @@ title: Repository Pre-receive Hooks intro: >- Use the REST API to view and modify enforcement of the pre-receive hooks that are available to a repository. -versions: +versions: # DO NOT MANUALLY EDIT. CHANGES WILL BE OVERWRITTEN BY A 🤖 ghes: '*' topics: - API diff --git a/content/rest/enterprise-admin/scim.md b/content/rest/enterprise-admin/scim.md index 9a3e1e32c4..c078849ff9 100644 --- a/content/rest/enterprise-admin/scim.md +++ b/content/rest/enterprise-admin/scim.md @@ -1,7 +1,7 @@ --- title: SCIM intro: Use the REST API to automate user creation and team memberships with SCIM. -versions: +versions: # DO NOT MANUALLY EDIT. CHANGES WILL BE OVERWRITTEN BY A 🤖 ghes: '>=3.6' topics: - API diff --git a/content/rest/enterprise-admin/users.md b/content/rest/enterprise-admin/users.md index 65b50f29b9..e03ad2e410 100644 --- a/content/rest/enterprise-admin/users.md +++ b/content/rest/enterprise-admin/users.md @@ -4,7 +4,7 @@ intro: >- Use the REST API to suspend{% ifversion ghes %}, unsuspend, promote, and demote{% endif %}{% ifversion ghae %} and unsuspend{% endif %} users on your enterprise. -versions: +versions: # DO NOT MANUALLY EDIT. CHANGES WILL BE OVERWRITTEN BY A 🤖 ghae: '*' ghes: '*' topics: diff --git a/content/rest/gists/comments.md b/content/rest/gists/comments.md index dc48aa209b..c5e5851fa6 100644 --- a/content/rest/gists/comments.md +++ b/content/rest/gists/comments.md @@ -3,7 +3,7 @@ title: Gist comments allowTitleToDifferFromFilename: true shortTitle: Comments intro: Use the REST API to view and modify comments on a gist. -versions: +versions: # DO NOT MANUALLY EDIT. CHANGES WILL BE OVERWRITTEN BY A 🤖 fpt: '*' ghae: '*' ghec: '*' diff --git a/content/rest/gists/gists.md b/content/rest/gists/gists.md index 2b76d93f52..78a54aed2b 100644 --- a/content/rest/gists/gists.md +++ b/content/rest/gists/gists.md @@ -3,7 +3,7 @@ title: Gists intro: >- Use the REST API to list, create, update and delete the public gists on GitHub. -versions: +versions: # DO NOT MANUALLY EDIT. CHANGES WILL BE OVERWRITTEN BY A 🤖 fpt: '*' ghae: '*' ghec: '*' diff --git a/content/rest/git/blobs.md b/content/rest/git/blobs.md index 15ce835850..962d23157e 100644 --- a/content/rest/git/blobs.md +++ b/content/rest/git/blobs.md @@ -5,7 +5,7 @@ allowTitleToDifferFromFilename: true intro: >- Use the REST API to interact with a Git blob (binary large object), the object type used to store the contents of each file in a repository. -versions: +versions: # DO NOT MANUALLY EDIT. CHANGES WILL BE OVERWRITTEN BY A 🤖 fpt: '*' ghae: '*' ghec: '*' diff --git a/content/rest/git/commits.md b/content/rest/git/commits.md index 6c4f429bab..16bc249ec9 100644 --- a/content/rest/git/commits.md +++ b/content/rest/git/commits.md @@ -5,7 +5,7 @@ allowTitleToDifferFromFilename: true intro: >- Use the REST API to interact with commit objects in your Git database on {% data variables.product.product_name %}. -versions: +versions: # DO NOT MANUALLY EDIT. CHANGES WILL BE OVERWRITTEN BY A 🤖 fpt: '*' ghae: '*' ghec: '*' diff --git a/content/rest/git/refs.md b/content/rest/git/refs.md index fdeebfa043..f28f33c6fe 100644 --- a/content/rest/git/refs.md +++ b/content/rest/git/refs.md @@ -4,7 +4,7 @@ shortTitle: References intro: >- Use the REST API to interact with references in your Git database on {% data variables.product.product_name %} -versions: +versions: # DO NOT MANUALLY EDIT. CHANGES WILL BE OVERWRITTEN BY A 🤖 fpt: '*' ghae: '*' ghec: '*' diff --git a/content/rest/git/tags.md b/content/rest/git/tags.md index 6c8f99ff12..4990367eb5 100644 --- a/content/rest/git/tags.md +++ b/content/rest/git/tags.md @@ -5,7 +5,7 @@ allowTitleToDifferFromFilename: true intro: >- Use the REST API to interact with tag objects in your Git database on {% data variables.product.product_name %}. -versions: +versions: # DO NOT MANUALLY EDIT. CHANGES WILL BE OVERWRITTEN BY A 🤖 fpt: '*' ghae: '*' ghec: '*' diff --git a/content/rest/git/trees.md b/content/rest/git/trees.md index ad0afaae1e..11be75ee50 100644 --- a/content/rest/git/trees.md +++ b/content/rest/git/trees.md @@ -5,7 +5,7 @@ allowTitleToDifferFromFilename: true intro: >- Use the REST API to interact with tree objects in your Git database on {% data variables.product.product_name %}. -versions: +versions: # DO NOT MANUALLY EDIT. CHANGES WILL BE OVERWRITTEN BY A 🤖 fpt: '*' ghae: '*' ghec: '*' diff --git a/content/rest/gitignore/gitignore.md b/content/rest/gitignore/gitignore.md index 4618bfb9eb..0779e5826d 100644 --- a/content/rest/gitignore/gitignore.md +++ b/content/rest/gitignore/gitignore.md @@ -3,7 +3,7 @@ title: Gitignore intro: >- Use the REST API to get `.gitignore` templates that can be used to ignore files and directories. -versions: +versions: # DO NOT MANUALLY EDIT. CHANGES WILL BE OVERWRITTEN BY A 🤖 fpt: '*' ghae: '*' ghec: '*' diff --git a/content/rest/interactions/orgs.md b/content/rest/interactions/orgs.md index f62e0b9acf..f6478e7f34 100644 --- a/content/rest/interactions/orgs.md +++ b/content/rest/interactions/orgs.md @@ -4,7 +4,7 @@ shortTitle: Organization intro: >- Use the REST API to temporarily restrict which type of user can comment, open issues, or create pull requests in the organization's public repositories. -versions: +versions: # DO NOT MANUALLY EDIT. CHANGES WILL BE OVERWRITTEN BY A 🤖 fpt: '*' ghec: '*' topics: diff --git a/content/rest/interactions/repos.md b/content/rest/interactions/repos.md index ae0b6f71a6..303198c9c9 100644 --- a/content/rest/interactions/repos.md +++ b/content/rest/interactions/repos.md @@ -7,7 +7,7 @@ intro: >- permissions: >- People with owner or admin access to temporarily restrict which type of user can comment, open issues, or create pull requests in a public repository. -versions: +versions: # DO NOT MANUALLY EDIT. CHANGES WILL BE OVERWRITTEN BY A 🤖 fpt: '*' ghec: '*' topics: diff --git a/content/rest/interactions/user.md b/content/rest/interactions/user.md index 1f0df4f246..47955d2557 100644 --- a/content/rest/interactions/user.md +++ b/content/rest/interactions/user.md @@ -5,7 +5,7 @@ allowTitleToDifferFromFilename: true intro: >- Use the REST API to temporarily restrict which type of user can comment, open issues, or create pull requests in your public repositories. -versions: +versions: # DO NOT MANUALLY EDIT. CHANGES WILL BE OVERWRITTEN BY A 🤖 fpt: '*' ghec: '*' topics: diff --git a/content/rest/issues/assignees.md b/content/rest/issues/assignees.md index b8ee553475..10c6ec244c 100644 --- a/content/rest/issues/assignees.md +++ b/content/rest/issues/assignees.md @@ -3,7 +3,7 @@ title: Issue assignees allowTitleToDifferFromFilename: true shortTitle: Assignees intro: Use the REST API to manage assignees on issues and pull requests. -versions: +versions: # DO NOT MANUALLY EDIT. CHANGES WILL BE OVERWRITTEN BY A 🤖 fpt: '*' ghae: '*' ghec: '*' diff --git a/content/rest/issues/comments.md b/content/rest/issues/comments.md index 9dbe607e2c..2dc7b63d34 100644 --- a/content/rest/issues/comments.md +++ b/content/rest/issues/comments.md @@ -3,7 +3,7 @@ title: Issue comments allowTitleToDifferFromFilename: true shortTitle: Comments intro: Use the REST API to manage comments on issues and pull requests. -versions: +versions: # DO NOT MANUALLY EDIT. CHANGES WILL BE OVERWRITTEN BY A 🤖 fpt: '*' ghae: '*' ghec: '*' diff --git a/content/rest/issues/events.md b/content/rest/issues/events.md index a3e3860b14..c9760bf0bb 100644 --- a/content/rest/issues/events.md +++ b/content/rest/issues/events.md @@ -5,7 +5,7 @@ shortTitle: Events intro: >- Use the REST API to retrieve events triggered by activity in issues and pull requests. -versions: +versions: # DO NOT MANUALLY EDIT. CHANGES WILL BE OVERWRITTEN BY A 🤖 fpt: '*' ghae: '*' ghec: '*' diff --git a/content/rest/issues/issues.md b/content/rest/issues/issues.md index 7908945dd1..493298add3 100644 --- a/content/rest/issues/issues.md +++ b/content/rest/issues/issues.md @@ -1,7 +1,7 @@ --- title: Issues intro: Use the REST API to manage issues and pull requests. -versions: +versions: # DO NOT MANUALLY EDIT. CHANGES WILL BE OVERWRITTEN BY A 🤖 fpt: '*' ghae: '*' ghec: '*' diff --git a/content/rest/issues/labels.md b/content/rest/issues/labels.md index 705c5a8448..33d1b1400c 100644 --- a/content/rest/issues/labels.md +++ b/content/rest/issues/labels.md @@ -1,7 +1,7 @@ --- title: Labels intro: 'Use the REST API to manage labels for repositories, issues and pull requests.' -versions: +versions: # DO NOT MANUALLY EDIT. CHANGES WILL BE OVERWRITTEN BY A 🤖 fpt: '*' ghae: '*' ghec: '*' diff --git a/content/rest/issues/milestones.md b/content/rest/issues/milestones.md index f1733b138e..654553e12d 100644 --- a/content/rest/issues/milestones.md +++ b/content/rest/issues/milestones.md @@ -1,7 +1,7 @@ --- title: Milestones intro: Use the REST API to manage milestones. -versions: +versions: # DO NOT MANUALLY EDIT. CHANGES WILL BE OVERWRITTEN BY A 🤖 fpt: '*' ghae: '*' ghec: '*' diff --git a/content/rest/issues/timeline.md b/content/rest/issues/timeline.md index 610188f422..75b0939a8b 100644 --- a/content/rest/issues/timeline.md +++ b/content/rest/issues/timeline.md @@ -5,7 +5,7 @@ shortTitle: Timeline intro: >- Use the REST API to receive events triggered by timeline activity in issues and pull requests. -versions: +versions: # DO NOT MANUALLY EDIT. CHANGES WILL BE OVERWRITTEN BY A 🤖 fpt: '*' ghae: '*' ghec: '*' diff --git a/content/rest/licenses/licenses.md b/content/rest/licenses/licenses.md index 2e00e7e732..c74be1066c 100644 --- a/content/rest/licenses/licenses.md +++ b/content/rest/licenses/licenses.md @@ -3,7 +3,7 @@ title: Licenses intro: >- Use the REST API to retrieve popular open source licenses and information about a particular project's license file. -versions: +versions: # DO NOT MANUALLY EDIT. CHANGES WILL BE OVERWRITTEN BY A 🤖 fpt: '*' ghae: '*' ghec: '*' diff --git a/content/rest/markdown/markdown.md b/content/rest/markdown/markdown.md index ce61ba7a62..1a9bdcb6b7 100644 --- a/content/rest/markdown/markdown.md +++ b/content/rest/markdown/markdown.md @@ -1,7 +1,7 @@ --- title: Markdown intro: Use the REST API to render a markdown document as an HTML page or as raw text. -versions: +versions: # DO NOT MANUALLY EDIT. CHANGES WILL BE OVERWRITTEN BY A 🤖 fpt: '*' ghae: '*' ghec: '*' diff --git a/content/rest/meta/meta.md b/content/rest/meta/meta.md index 6a849d18b4..fbc831a2fb 100644 --- a/content/rest/meta/meta.md +++ b/content/rest/meta/meta.md @@ -4,7 +4,7 @@ intro: >- Use the REST API to get meta information about {% data variables.product.product_name %}, including the IP addresses of {% data variables.product.product_name %} services. -versions: +versions: # DO NOT MANUALLY EDIT. CHANGES WILL BE OVERWRITTEN BY A 🤖 fpt: '*' ghae: '*' ghec: '*' diff --git a/content/rest/metrics/community.md b/content/rest/metrics/community.md index 80df2adb05..7ccd41e18a 100644 --- a/content/rest/metrics/community.md +++ b/content/rest/metrics/community.md @@ -3,7 +3,7 @@ title: Community metrics shortTitle: Community allowTitleToDifferFromFilename: true intro: Use the REST API to retrieve information about your community profile. -versions: +versions: # DO NOT MANUALLY EDIT. CHANGES WILL BE OVERWRITTEN BY A 🤖 fpt: '*' ghec: '*' topics: diff --git a/content/rest/metrics/statistics.md b/content/rest/metrics/statistics.md index 1ff9ae3d98..18c8dd078d 100644 --- a/content/rest/metrics/statistics.md +++ b/content/rest/metrics/statistics.md @@ -5,7 +5,7 @@ allowTitleToDifferFromFilename: true intro: >- Use the REST API to fetch the data that {% data variables.product.product_name %} uses for visualizing different types of repository activity. -versions: +versions: # DO NOT MANUALLY EDIT. CHANGES WILL BE OVERWRITTEN BY A 🤖 fpt: '*' ghae: '*' ghec: '*' diff --git a/content/rest/metrics/traffic.md b/content/rest/metrics/traffic.md index 7ddb205313..4b1f0f961b 100644 --- a/content/rest/metrics/traffic.md +++ b/content/rest/metrics/traffic.md @@ -3,7 +3,7 @@ title: Repository traffic shortTitle: Traffic allowTitleToDifferFromFilename: true intro: Use the REST API to retrieve information provided in your repository graph. -versions: +versions: # DO NOT MANUALLY EDIT. CHANGES WILL BE OVERWRITTEN BY A 🤖 fpt: '*' ghec: '*' topics: diff --git a/content/rest/migrations/orgs.md b/content/rest/migrations/orgs.md index 4995096865..942c641e6f 100644 --- a/content/rest/migrations/orgs.md +++ b/content/rest/migrations/orgs.md @@ -6,7 +6,7 @@ intro: >- Use the REST API to move a repository from {% data variables.product.prodname_dotcom_the_website %} to {% data variables.product.prodname_ghe_server %}. -versions: +versions: # DO NOT MANUALLY EDIT. CHANGES WILL BE OVERWRITTEN BY A 🤖 fpt: '*' ghae: '*' ghec: '*' diff --git a/content/rest/migrations/source-imports.md b/content/rest/migrations/source-imports.md index 034f90a9ff..24ba11c604 100644 --- a/content/rest/migrations/source-imports.md +++ b/content/rest/migrations/source-imports.md @@ -3,7 +3,7 @@ title: Source imports intro: >- Use the REST API to start an import from a Git, Subversion, Mercurial, or Team Foundation Version Control source repository. -versions: +versions: # DO NOT MANUALLY EDIT. CHANGES WILL BE OVERWRITTEN BY A 🤖 fpt: '*' ghec: '*' topics: diff --git a/content/rest/migrations/users.md b/content/rest/migrations/users.md index 03d3122772..9341e5e4d7 100644 --- a/content/rest/migrations/users.md +++ b/content/rest/migrations/users.md @@ -5,7 +5,7 @@ shortTitle: Users intro: >- Use the REST API to review, backup, or migrate your user data stored on {% data variables.product.product_name %}.com. -versions: +versions: # DO NOT MANUALLY EDIT. CHANGES WILL BE OVERWRITTEN BY A 🤖 fpt: '*' ghae: '*' ghec: '*' diff --git a/content/rest/oauth-authorizations/oauth-authorizations.md b/content/rest/oauth-authorizations/oauth-authorizations.md index 6468d3fd9a..1b1049fd15 100644 --- a/content/rest/oauth-authorizations/oauth-authorizations.md +++ b/content/rest/oauth-authorizations/oauth-authorizations.md @@ -1,7 +1,9 @@ --- title: OAuth authorizations -intro: Use the REST API to manage the access {% data variables.product.prodname_oauth_apps %} have to your account. -versions: +intro: >- + Use the REST API to manage the access {% data + variables.product.prodname_oauth_apps %} have to your account. +versions: # DO NOT MANUALLY EDIT. CHANGES WILL BE OVERWRITTEN BY A 🤖 ghes: '*' topics: - API diff --git a/content/rest/orgs/blocking.md b/content/rest/orgs/blocking.md index 06d75a1c51..136d4f438b 100644 --- a/content/rest/orgs/blocking.md +++ b/content/rest/orgs/blocking.md @@ -1,7 +1,7 @@ --- title: Blocking users intro: Use the REST API to block and unblock users in an organization. -versions: +versions: # DO NOT MANUALLY EDIT. CHANGES WILL BE OVERWRITTEN BY A 🤖 fpt: '*' ghec: '*' topics: diff --git a/content/rest/orgs/custom-roles.md b/content/rest/orgs/custom-roles.md index 6e9f06f111..1133ee8b5d 100644 --- a/content/rest/orgs/custom-roles.md +++ b/content/rest/orgs/custom-roles.md @@ -1,7 +1,7 @@ --- title: Custom Repository Roles intro: Use the REST API to interact with custom repository roles. -versions: +versions: # DO NOT MANUALLY EDIT. CHANGES WILL BE OVERWRITTEN BY A 🤖 ghec: '*' ghes: '*' topics: diff --git a/content/rest/orgs/members.md b/content/rest/orgs/members.md index e75e85c15b..60c375855d 100644 --- a/content/rest/orgs/members.md +++ b/content/rest/orgs/members.md @@ -3,7 +3,7 @@ title: Organization members allowTitleToDifferFromFilename: true shortTitle: Members intro: Use the REST API to manage memberships in your organization. -versions: +versions: # DO NOT MANUALLY EDIT. CHANGES WILL BE OVERWRITTEN BY A 🤖 fpt: '*' ghae: '*' ghec: '*' diff --git a/content/rest/orgs/orgs.md b/content/rest/orgs/orgs.md index 553b7a3104..dfdf849eb1 100644 --- a/content/rest/orgs/orgs.md +++ b/content/rest/orgs/orgs.md @@ -1,7 +1,7 @@ --- title: Organizations intro: Use the REST API to interact with organizations. -versions: +versions: # DO NOT MANUALLY EDIT. CHANGES WILL BE OVERWRITTEN BY A 🤖 fpt: '*' ghae: '*' ghec: '*' diff --git a/content/rest/orgs/outside-collaborators.md b/content/rest/orgs/outside-collaborators.md index dccdd57d23..a60c3b693e 100644 --- a/content/rest/orgs/outside-collaborators.md +++ b/content/rest/orgs/outside-collaborators.md @@ -1,7 +1,7 @@ --- title: Outside Collaborators intro: Use the REST API to manage outside collaborators. -versions: +versions: # DO NOT MANUALLY EDIT. CHANGES WILL BE OVERWRITTEN BY A 🤖 fpt: '*' ghae: '*' ghec: '*' diff --git a/content/rest/orgs/personal-access-tokens.md b/content/rest/orgs/personal-access-tokens.md index 052b677ca2..61979953e0 100644 --- a/content/rest/orgs/personal-access-tokens.md +++ b/content/rest/orgs/personal-access-tokens.md @@ -2,8 +2,9 @@ title: Personal access tokens shortTitle: Personal access tokens intro: 'Use the REST API to manage {% data variables.product.pat_v2 %}s.' -versions: - feature: pat-v2 +versions: # DO NOT MANUALLY EDIT. CHANGES WILL BE OVERWRITTEN BY A 🤖 + fpt: '*' + ghec: '*' topics: - API autogenerated: rest diff --git a/content/rest/orgs/rules.md b/content/rest/orgs/rules.md index be95056713..daa6e51d0a 100644 --- a/content/rest/orgs/rules.md +++ b/content/rest/orgs/rules.md @@ -1,10 +1,13 @@ --- title: Rules shortTitle: Rules -intro: 'Use the rulesets API to manage rulesets for repositories. Organization rulesets control how people can interact with selected branches and tags in repositories in an organization.' -versions: +intro: >- + Use the rulesets API to manage rulesets for repositories. Organization + rulesets control how people can interact with selected branches and tags in + repositories in an organization. +versions: # DO NOT MANUALLY EDIT. CHANGES WILL BE OVERWRITTEN BY A 🤖 fpt: '*' - feature: repo-rules-enterprise + ghec: '*' topics: - API autogenerated: rest diff --git a/content/rest/orgs/security-managers.md b/content/rest/orgs/security-managers.md index 4d85c1529c..347051a2f8 100644 --- a/content/rest/orgs/security-managers.md +++ b/content/rest/orgs/security-managers.md @@ -1,7 +1,7 @@ --- title: Security Managers intro: Use the REST API to manage security managers in an organization. -versions: +versions: # DO NOT MANUALLY EDIT. CHANGES WILL BE OVERWRITTEN BY A 🤖 fpt: '*' ghec: '*' ghes: '>=3.7' diff --git a/content/rest/orgs/webhooks.md b/content/rest/orgs/webhooks.md index ab87b60596..2cff260509 100644 --- a/content/rest/orgs/webhooks.md +++ b/content/rest/orgs/webhooks.md @@ -3,7 +3,7 @@ title: Organization webhooks allowTitleToDifferFromFilename: true shortTitle: Webhooks intro: Use the REST API to interact with webhooks in an organization. -versions: +versions: # DO NOT MANUALLY EDIT. CHANGES WILL BE OVERWRITTEN BY A 🤖 fpt: '*' ghae: '*' ghec: '*' diff --git a/content/rest/packages/packages.md b/content/rest/packages/packages.md index b3bf5895c9..a4fc7954e7 100644 --- a/content/rest/packages/packages.md +++ b/content/rest/packages/packages.md @@ -3,7 +3,7 @@ title: Packages intro: >- Use the REST API to interact with {% data variables.product.prodname_registry %}. -versions: +versions: # DO NOT MANUALLY EDIT. CHANGES WILL BE OVERWRITTEN BY A 🤖 fpt: '*' ghec: '*' ghes: '>=3.9' diff --git a/content/rest/pages/pages.md b/content/rest/pages/pages.md index a550ffd8e2..f2716581a3 100644 --- a/content/rest/pages/pages.md +++ b/content/rest/pages/pages.md @@ -3,7 +3,7 @@ title: Pages intro: >- Use the REST API to interact with {% data variables.product.prodname_pages %} sites and builds. -versions: +versions: # DO NOT MANUALLY EDIT. CHANGES WILL BE OVERWRITTEN BY A 🤖 fpt: '*' ghae: '*' ghec: '*' diff --git a/content/rest/projects/cards.md b/content/rest/projects/cards.md index 990518bfa5..3d1ebc8f41 100644 --- a/content/rest/projects/cards.md +++ b/content/rest/projects/cards.md @@ -5,7 +5,7 @@ allowTitleToDifferFromFilename: true intro: >- Use the REST API to create and manage cards on a {% data variables.projects.projects_v1_board %}. -versions: +versions: # DO NOT MANUALLY EDIT. CHANGES WILL BE OVERWRITTEN BY A 🤖 fpt: '*' ghae: '*' ghec: '*' diff --git a/content/rest/projects/collaborators.md b/content/rest/projects/collaborators.md index 1fafaf5972..951cbcebe3 100644 --- a/content/rest/projects/collaborators.md +++ b/content/rest/projects/collaborators.md @@ -5,7 +5,7 @@ allowTitleToDifferFromFilename: true intro: >- Use the REST API to manage collaborators on a {% data variables.projects.projects_v1_board %}. -versions: +versions: # DO NOT MANUALLY EDIT. CHANGES WILL BE OVERWRITTEN BY A 🤖 fpt: '*' ghae: '*' ghec: '*' diff --git a/content/rest/projects/columns.md b/content/rest/projects/columns.md index f08ac37945..bd8d92b65e 100644 --- a/content/rest/projects/columns.md +++ b/content/rest/projects/columns.md @@ -5,7 +5,7 @@ allowTitleToDifferFromFilename: true intro: >- Use the REST API to create and manage columns on a {% data variables.projects.projects_v1_board %}. -versions: +versions: # DO NOT MANUALLY EDIT. CHANGES WILL BE OVERWRITTEN BY A 🤖 fpt: '*' ghae: '*' ghec: '*' diff --git a/content/rest/projects/projects.md b/content/rest/projects/projects.md index fb75e69971..c502ddc37f 100644 --- a/content/rest/projects/projects.md +++ b/content/rest/projects/projects.md @@ -5,7 +5,7 @@ allowTitleToDifferFromFilename: true intro: >- Use the REST API to create and manage {% data variables.projects.projects_v1_boards %} in a repository. -versions: +versions: # DO NOT MANUALLY EDIT. CHANGES WILL BE OVERWRITTEN BY A 🤖 fpt: '*' ghae: '*' ghec: '*' diff --git a/content/rest/pulls/comments.md b/content/rest/pulls/comments.md index ff759db506..c01ba1256d 100644 --- a/content/rest/pulls/comments.md +++ b/content/rest/pulls/comments.md @@ -2,7 +2,7 @@ title: Pull request review comments shortTitle: Review comments intro: Use the REST API to interact with pull request review comments. -versions: +versions: # DO NOT MANUALLY EDIT. CHANGES WILL BE OVERWRITTEN BY A 🤖 fpt: '*' ghae: '*' ghec: '*' diff --git a/content/rest/pulls/pulls.md b/content/rest/pulls/pulls.md index 24f2e07591..e67bcffe73 100644 --- a/content/rest/pulls/pulls.md +++ b/content/rest/pulls/pulls.md @@ -1,7 +1,7 @@ --- title: Pulls intro: Use the REST API to interact with pull requests. -versions: +versions: # DO NOT MANUALLY EDIT. CHANGES WILL BE OVERWRITTEN BY A 🤖 fpt: '*' ghae: '*' ghec: '*' diff --git a/content/rest/pulls/review-requests.md b/content/rest/pulls/review-requests.md index 8db5843928..d4a36e650a 100644 --- a/content/rest/pulls/review-requests.md +++ b/content/rest/pulls/review-requests.md @@ -1,7 +1,7 @@ --- title: Review requests intro: Use the REST API to interact with review requests. -versions: +versions: # DO NOT MANUALLY EDIT. CHANGES WILL BE OVERWRITTEN BY A 🤖 fpt: '*' ghae: '*' ghec: '*' diff --git a/content/rest/pulls/reviews.md b/content/rest/pulls/reviews.md index f0a426c4bd..f3ad0a1e46 100644 --- a/content/rest/pulls/reviews.md +++ b/content/rest/pulls/reviews.md @@ -3,7 +3,7 @@ title: Pull request reviews shortTitle: Reviews allowTitleToDifferFromFilename: true intro: Use the REST API to interact with pull request reviews. -versions: +versions: # DO NOT MANUALLY EDIT. CHANGES WILL BE OVERWRITTEN BY A 🤖 fpt: '*' ghae: '*' ghec: '*' diff --git a/content/rest/rate-limit/rate-limit.md b/content/rest/rate-limit/rate-limit.md index 1e3174aabf..0feca41ff8 100644 --- a/content/rest/rate-limit/rate-limit.md +++ b/content/rest/rate-limit/rate-limit.md @@ -1,7 +1,7 @@ --- title: Rate limit intro: Use the REST API to check your current rate limit status. -versions: +versions: # DO NOT MANUALLY EDIT. CHANGES WILL BE OVERWRITTEN BY A 🤖 fpt: '*' ghae: '*' ghec: '*' diff --git a/content/rest/reactions/reactions.md b/content/rest/reactions/reactions.md index 40d08e50c3..a12ff2d645 100644 --- a/content/rest/reactions/reactions.md +++ b/content/rest/reactions/reactions.md @@ -3,7 +3,7 @@ title: Reactions intro: >- Use the REST API to interact with reactions on {% data variables.product.prodname_dotcom %}. -versions: +versions: # DO NOT MANUALLY EDIT. CHANGES WILL BE OVERWRITTEN BY A 🤖 fpt: '*' ghae: '*' ghec: '*' diff --git a/content/rest/releases/assets.md b/content/rest/releases/assets.md index f401f595be..25e0bcf956 100644 --- a/content/rest/releases/assets.md +++ b/content/rest/releases/assets.md @@ -1,7 +1,7 @@ --- title: Release Assets intro: Use the REST API to manage release assets. -versions: +versions: # DO NOT MANUALLY EDIT. CHANGES WILL BE OVERWRITTEN BY A 🤖 fpt: '*' ghae: '*' ghec: '*' diff --git a/content/rest/releases/releases.md b/content/rest/releases/releases.md index 514c246459..070fcd010b 100644 --- a/content/rest/releases/releases.md +++ b/content/rest/releases/releases.md @@ -1,7 +1,7 @@ --- title: Releases intro: 'Use the REST API to create, modify, and delete releases and release assets.' -versions: +versions: # DO NOT MANUALLY EDIT. CHANGES WILL BE OVERWRITTEN BY A 🤖 fpt: '*' ghae: '*' ghec: '*' diff --git a/content/rest/repos/autolinks.md b/content/rest/repos/autolinks.md index 562cb06ccc..9cec210354 100644 --- a/content/rest/repos/autolinks.md +++ b/content/rest/repos/autolinks.md @@ -3,7 +3,7 @@ title: Repository autolinks allowTitleToDifferFromFilename: true shortTitle: Autolinks intro: Use the REST API to add autolinks to external resources. -versions: +versions: # DO NOT MANUALLY EDIT. CHANGES WILL BE OVERWRITTEN BY A 🤖 fpt: '*' ghae: '*' ghec: '*' diff --git a/content/rest/repos/contents.md b/content/rest/repos/contents.md index bdf1c79899..35ea4e3223 100644 --- a/content/rest/repos/contents.md +++ b/content/rest/repos/contents.md @@ -5,7 +5,7 @@ shortTitle: Contents intro: >- Use the REST API to create, modify, and delete Base64 encoded content in a repository. -versions: +versions: # DO NOT MANUALLY EDIT. CHANGES WILL BE OVERWRITTEN BY A 🤖 fpt: '*' ghae: '*' ghec: '*' diff --git a/content/rest/repos/forks.md b/content/rest/repos/forks.md index 42bce05921..0e140d7b5c 100644 --- a/content/rest/repos/forks.md +++ b/content/rest/repos/forks.md @@ -1,7 +1,7 @@ --- title: Forks intro: Use the REST API to manage repository forks. -versions: +versions: # DO NOT MANUALLY EDIT. CHANGES WILL BE OVERWRITTEN BY A 🤖 fpt: '*' ghae: '*' ghec: '*' diff --git a/content/rest/repos/lfs.md b/content/rest/repos/lfs.md index 46aee416bf..e3ada8a67e 100644 --- a/content/rest/repos/lfs.md +++ b/content/rest/repos/lfs.md @@ -3,7 +3,7 @@ title: Git LFS intro: >- Use the REST API to enable or disable {% data variables.large_files.product_name_long %} (LFS) for a repository. -versions: +versions: # DO NOT MANUALLY EDIT. CHANGES WILL BE OVERWRITTEN BY A 🤖 fpt: '*' ghae: '*' ghec: '*' diff --git a/content/rest/repos/repos.md b/content/rest/repos/repos.md index e03bb1f8eb..1a569ffc39 100644 --- a/content/rest/repos/repos.md +++ b/content/rest/repos/repos.md @@ -3,7 +3,7 @@ title: Repositories intro: >- Use the REST API to manage repositories on {% data variables.product.company_short %}. -versions: +versions: # DO NOT MANUALLY EDIT. CHANGES WILL BE OVERWRITTEN BY A 🤖 fpt: '*' ghae: '*' ghec: '*' diff --git a/content/rest/repos/rules.md b/content/rest/repos/rules.md index 9c579c523d..fcdcc119b3 100644 --- a/content/rest/repos/rules.md +++ b/content/rest/repos/rules.md @@ -1,10 +1,12 @@ --- title: Rules shortTitle: Rules -intro: 'Use the rulesets API to manage rulesets for repositories. Rulesets control how people can interact with selected branches and tags in a repository.' -versions: +intro: >- + Use the rulesets API to manage rulesets for repositories. Rulesets control how + people can interact with selected branches and tags in a repository. +versions: # DO NOT MANUALLY EDIT. CHANGES WILL BE OVERWRITTEN BY A 🤖 fpt: '*' - feature: repo-rules-enterprise + ghec: '*' topics: - API autogenerated: rest diff --git a/content/rest/repos/tags.md b/content/rest/repos/tags.md index 2971f3c137..09b8dcba65 100644 --- a/content/rest/repos/tags.md +++ b/content/rest/repos/tags.md @@ -3,7 +3,7 @@ title: Repository tags allowTitleToDifferFromFilename: true shortTitle: Tags intro: Use the REST API to manage tags for a repository. -versions: +versions: # DO NOT MANUALLY EDIT. CHANGES WILL BE OVERWRITTEN BY A 🤖 fpt: '*' ghec: '*' ghes: '*' diff --git a/content/rest/scim/scim.md b/content/rest/scim/scim.md index 3bfea17b32..17c40eef6f 100644 --- a/content/rest/scim/scim.md +++ b/content/rest/scim/scim.md @@ -3,7 +3,7 @@ title: SCIM intro: >- Use the REST API to control and manage your GitHub organization members access with SCIM. -versions: +versions: # DO NOT MANUALLY EDIT. CHANGES WILL BE OVERWRITTEN BY A 🤖 ghec: '*' topics: - API diff --git a/content/rest/search/search.md b/content/rest/search/search.md index 569dddc5a5..498f3b51cf 100644 --- a/content/rest/search/search.md +++ b/content/rest/search/search.md @@ -3,7 +3,7 @@ title: Search intro: >- Use the REST API to search for specific items on {% data variables.product.product_name %}. -versions: +versions: # DO NOT MANUALLY EDIT. CHANGES WILL BE OVERWRITTEN BY A 🤖 fpt: '*' ghae: '*' ghec: '*' diff --git a/content/rest/secret-scanning/secret-scanning.md b/content/rest/secret-scanning/secret-scanning.md index c4e14a8cf0..585be2747a 100644 --- a/content/rest/secret-scanning/secret-scanning.md +++ b/content/rest/secret-scanning/secret-scanning.md @@ -1,7 +1,7 @@ --- title: Secret scanning intro: Use the REST API to retrieve and update secret alerts from a repository. -versions: +versions: # DO NOT MANUALLY EDIT. CHANGES WILL BE OVERWRITTEN BY A 🤖 fpt: '*' ghae: '*' ghec: '*' diff --git a/content/rest/security-advisories/repository-advisories.md b/content/rest/security-advisories/repository-advisories.md index 1770fd2a09..5dd1882be9 100644 --- a/content/rest/security-advisories/repository-advisories.md +++ b/content/rest/security-advisories/repository-advisories.md @@ -1,9 +1,8 @@ --- title: Repository security advisories allowTitleToDifferFromFilename: true -intro: >- - Use the REST API to view and manage repository security advisories. -versions: +intro: Use the REST API to view and manage repository security advisories. +versions: # DO NOT MANUALLY EDIT. CHANGES WILL BE OVERWRITTEN BY A 🤖 fpt: '*' ghec: '*' topics: diff --git a/content/rest/teams/discussion-comments.md b/content/rest/teams/discussion-comments.md index 28e7fb63f1..b13534687a 100644 --- a/content/rest/teams/discussion-comments.md +++ b/content/rest/teams/discussion-comments.md @@ -5,7 +5,7 @@ shortTitle: Discussion comments intro: >- Use the REST API to get, create, edit, and delete discussion comments on a [team discussion](/rest/reference/teams#discussions) post. -versions: +versions: # DO NOT MANUALLY EDIT. CHANGES WILL BE OVERWRITTEN BY A 🤖 fpt: '*' ghae: '*' ghec: '*' diff --git a/content/rest/teams/discussions.md b/content/rest/teams/discussions.md index d32ca1f9e9..c2f7fc68af 100644 --- a/content/rest/teams/discussions.md +++ b/content/rest/teams/discussions.md @@ -5,7 +5,7 @@ shortTitle: Discussions intro: >- Use the REST API to get, create, edit, and delete discussion posts on a team's page. -versions: +versions: # DO NOT MANUALLY EDIT. CHANGES WILL BE OVERWRITTEN BY A 🤖 fpt: '*' ghae: '*' ghec: '*' diff --git a/content/rest/teams/external-groups.md b/content/rest/teams/external-groups.md index 6fa8a4cd28..21af60e0d2 100644 --- a/content/rest/teams/external-groups.md +++ b/content/rest/teams/external-groups.md @@ -4,7 +4,7 @@ intro: >- Use the REST API to view the external identity provider groups that are available to your organization and manage the connection between external groups and teams in your organization. -versions: +versions: # DO NOT MANUALLY EDIT. CHANGES WILL BE OVERWRITTEN BY A 🤖 ghae: '*' ghec: '*' ghes: '>=3.6' diff --git a/content/rest/teams/members.md b/content/rest/teams/members.md index a9b6e2d508..a07fd17266 100644 --- a/content/rest/teams/members.md +++ b/content/rest/teams/members.md @@ -5,7 +5,7 @@ intro: >- variables.product.product_name %} organization. allowTitleToDifferFromFilename: true shortTitle: Members -versions: +versions: # DO NOT MANUALLY EDIT. CHANGES WILL BE OVERWRITTEN BY A 🤖 fpt: '*' ghae: '*' ghec: '*' diff --git a/content/rest/teams/team-sync.md b/content/rest/teams/team-sync.md index 488bfd776e..7342be7a7d 100644 --- a/content/rest/teams/team-sync.md +++ b/content/rest/teams/team-sync.md @@ -4,7 +4,7 @@ intro: >- Use the REST API to manage connections between {% data variables.product.product_name %} teams and external identity provider (IdP) groups. -versions: +versions: # DO NOT MANUALLY EDIT. CHANGES WILL BE OVERWRITTEN BY A 🤖 ghec: '*' topics: - API diff --git a/content/rest/teams/teams.md b/content/rest/teams/teams.md index b3fc63e417..d2c6d855d9 100644 --- a/content/rest/teams/teams.md +++ b/content/rest/teams/teams.md @@ -3,7 +3,7 @@ title: Teams intro: >- Use the REST API to create and manage teams in your {% data variables.product.product_name %} organization. -versions: +versions: # DO NOT MANUALLY EDIT. CHANGES WILL BE OVERWRITTEN BY A 🤖 fpt: '*' ghae: '*' ghec: '*' diff --git a/content/rest/users/blocking.md b/content/rest/users/blocking.md index 9eb8d47a12..8dd072036a 100644 --- a/content/rest/users/blocking.md +++ b/content/rest/users/blocking.md @@ -1,7 +1,7 @@ --- title: Blocking users intro: Use the REST API to manage blocked users. -versions: +versions: # DO NOT MANUALLY EDIT. CHANGES WILL BE OVERWRITTEN BY A 🤖 fpt: '*' ghec: '*' topics: diff --git a/content/rest/users/emails.md b/content/rest/users/emails.md index 63833352cb..2d89b287e3 100644 --- a/content/rest/users/emails.md +++ b/content/rest/users/emails.md @@ -1,7 +1,7 @@ --- title: Emails intro: Use the REST API to manage email addresses of authenticated users. -versions: +versions: # DO NOT MANUALLY EDIT. CHANGES WILL BE OVERWRITTEN BY A 🤖 fpt: '*' ghec: '*' ghes: '*' diff --git a/content/rest/users/followers.md b/content/rest/users/followers.md index bc6f0c6d01..f38bc2eda2 100644 --- a/content/rest/users/followers.md +++ b/content/rest/users/followers.md @@ -1,7 +1,7 @@ --- title: Followers intro: Use the REST API to get information about followers of authenticated users. -versions: +versions: # DO NOT MANUALLY EDIT. CHANGES WILL BE OVERWRITTEN BY A 🤖 fpt: '*' ghae: '*' ghec: '*' diff --git a/content/rest/users/gpg-keys.md b/content/rest/users/gpg-keys.md index e3a16f0d59..3dacc6c946 100644 --- a/content/rest/users/gpg-keys.md +++ b/content/rest/users/gpg-keys.md @@ -1,7 +1,7 @@ --- title: GPG Keys intro: Use the REST API to manage GPG keys of authenticated users. -versions: +versions: # DO NOT MANUALLY EDIT. CHANGES WILL BE OVERWRITTEN BY A 🤖 fpt: '*' ghae: '*' ghec: '*' diff --git a/content/rest/users/keys.md b/content/rest/users/keys.md index 6c385b64b1..bbfea101a8 100644 --- a/content/rest/users/keys.md +++ b/content/rest/users/keys.md @@ -1,7 +1,7 @@ --- title: Git SSH Keys intro: Use the REST API to manage Git SSH keys of authenticated users. -versions: +versions: # DO NOT MANUALLY EDIT. CHANGES WILL BE OVERWRITTEN BY A 🤖 fpt: '*' ghae: '*' ghec: '*' diff --git a/content/rest/users/social-accounts.md b/content/rest/users/social-accounts.md index f740a75ce4..13a6b07778 100644 --- a/content/rest/users/social-accounts.md +++ b/content/rest/users/social-accounts.md @@ -1,7 +1,7 @@ --- title: Social accounts intro: Use the REST API to manage social accounts of authenticated users. -versions: +versions: # DO NOT MANUALLY EDIT. CHANGES WILL BE OVERWRITTEN BY A 🤖 fpt: '*' ghec: '*' ghes: '>=3.9' diff --git a/content/rest/users/ssh-signing-keys.md b/content/rest/users/ssh-signing-keys.md index a415791560..05726f02d0 100644 --- a/content/rest/users/ssh-signing-keys.md +++ b/content/rest/users/ssh-signing-keys.md @@ -1,7 +1,7 @@ --- title: SSH signing keys intro: Use the REST API to manage SSH signing keys of authenticated users. -versions: +versions: # DO NOT MANUALLY EDIT. CHANGES WILL BE OVERWRITTEN BY A 🤖 fpt: '*' ghec: '*' ghes: '>=3.7' diff --git a/content/rest/users/users.md b/content/rest/users/users.md index 2c81fd94db..086400fcf5 100644 --- a/content/rest/users/users.md +++ b/content/rest/users/users.md @@ -3,7 +3,7 @@ title: Users intro: >- Use the REST API to get public and private information about authenticated users. -versions: +versions: # DO NOT MANUALLY EDIT. CHANGES WILL BE OVERWRITTEN BY A 🤖 fpt: '*' ghae: '*' ghec: '*' diff --git a/content/rest/webhooks/repo-config.md b/content/rest/webhooks/repo-config.md index da5bf63abc..c7f5b1a6f8 100644 --- a/content/rest/webhooks/repo-config.md +++ b/content/rest/webhooks/repo-config.md @@ -1,7 +1,7 @@ --- title: Repository Webhook Configuration intro: Use the REST API to manage the configuration for repository webhooks. -versions: +versions: # DO NOT MANUALLY EDIT. CHANGES WILL BE OVERWRITTEN BY A 🤖 fpt: '*' ghae: '*' ghec: '*' diff --git a/content/rest/webhooks/repo-deliveries.md b/content/rest/webhooks/repo-deliveries.md index 2ef7fd3f89..f6ed94cb72 100644 --- a/content/rest/webhooks/repo-deliveries.md +++ b/content/rest/webhooks/repo-deliveries.md @@ -1,7 +1,7 @@ --- title: Repository Webhook Deliveries intro: Use the REST API interact with deliveries of repository webhooks. -versions: +versions: # DO NOT MANUALLY EDIT. CHANGES WILL BE OVERWRITTEN BY A 🤖 fpt: '*' ghae: '*' ghec: '*' diff --git a/content/rest/webhooks/repos.md b/content/rest/webhooks/repos.md index d364524c33..98b0969b5f 100644 --- a/content/rest/webhooks/repos.md +++ b/content/rest/webhooks/repos.md @@ -1,7 +1,7 @@ --- title: Repository Webhooks intro: Use the REST API to manage repository webhooks. -versions: +versions: # DO NOT MANUALLY EDIT. CHANGES WILL BE OVERWRITTEN BY A 🤖 fpt: '*' ghae: '*' ghec: '*' diff --git a/src/automated-pipelines/lib/update-markdown.js b/src/automated-pipelines/lib/update-markdown.js index 92862a7d55..0561f97eeb 100644 --- a/src/automated-pipelines/lib/update-markdown.js +++ b/src/automated-pipelines/lib/update-markdown.js @@ -116,10 +116,14 @@ async function updateMarkdownFile( // Only modify the versions property when a file already existss newData.versions = sourceData.versions const targetContent = manuallyCreatedContent + commentDelimiter + sourceContent - await writeFile(file, matter.stringify(targetContent, newData)) + const newFileContent = appendVersionComment(matter.stringify(targetContent, newData)) + await writeFile(file, newFileContent) } else { await createDirectory(path.dirname(file)) - await writeFile(file, matter.stringify(commentDelimiter + sourceContent, sourceData)) + const newFileContent = appendVersionComment( + matter.stringify(commentDelimiter + sourceContent, sourceData), + ) + await writeFile(file, newFileContent) } } @@ -447,3 +451,10 @@ async function getDirectoryInfo(directory) { const directoryFiles = difference(directoryContents, childDirectories) return { directoryContents, directoryFiles, childDirectories } } + +function appendVersionComment(stringifiedContent) { + return stringifiedContent.replace( + '\nversions:\n', + `\nversions: # DO NOT MANUALLY EDIT. CHANGES WILL BE OVERWRITTEN BY A 🤖\n`, + ) +} diff --git a/src/automated-pipelines/tests/rendering.js b/src/automated-pipelines/tests/rendering.js index 2ace18effe..ef5c693d3c 100644 --- a/src/automated-pipelines/tests/rendering.js +++ b/src/automated-pipelines/tests/rendering.js @@ -1,16 +1,18 @@ import { jest, test } from '@jest/globals' +import { readFileSync } from 'fs' import { loadPages } from '../../../lib/page-data.js' import { get } from '../../../tests/helpers/e2etest.js' +// Get a list of the autogenerated pages +const pageList = await loadPages(undefined, ['en']) + describe('autogenerated docs render', () => { jest.setTimeout(3 * 60 * 1000) - test('all automated pages return a 200 success code', async () => { - // Get a list of the autogenerated pages - const pageList = await loadPages(undefined, ['en']) - const autogeneratedPages = pageList.filter((page) => page.autogenerated) + const autogeneratedPages = pageList.filter((page) => page.autogenerated) + test('all automated pages return a 200 success code', async () => { expect.assertions(autogeneratedPages.length) const statusCodes = await Promise.all( @@ -27,4 +29,26 @@ describe('autogenerated docs render', () => { expect(status, url).toBe(200) } }) + + const codeqlCliPath = JSON.parse( + readFileSync('src/codeql-cli/lib/config.json', 'utf-8'), + ).targetDirectory + const restPath = JSON.parse(readFileSync('src/rest/lib/config.json', 'utf-8')).targetDirectory + const ghappsPath = JSON.parse( + readFileSync('src/github-apps/lib/config.json', 'utf-8'), + ).targetDirectory + // Right now only the rest and codeqlcli pages get their frontmatter updated automatically. + // The apps pages do not get their frontmatter auto-updated since they apply to all versions and they are + // single pages. The apps pages are also nested inside of the rest pages. So we want to filter out only + // rest pages and the codeql cli pages for this test. + const filesWithAutoUpdatedVersions = autogeneratedPages.filter( + (page) => + (!page.fullPath.startsWith(ghappsPath) && page.fullPath.startsWith(restPath)) || + page.fullPath.startsWith(codeqlCliPath), + ) + for (const page of filesWithAutoUpdatedVersions) { + test(`autogenerated page ${page.fullPath} does not use feature based versioning`, () => { + expect(page.versions.feature).toBe(undefined) + }) + } })