Skip to content

Commit

Permalink
Merge pull request github#36300 from github/repo-sync
Browse files Browse the repository at this point in the history
Repo sync
  • Loading branch information
docs-bot authored Feb 14, 2025
2 parents e48611a + 2ec049c commit 98c1364
Show file tree
Hide file tree
Showing 9 changed files with 90 additions and 61 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/comment-code-changes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,10 @@ jobs:
COMMENT_BODY="<!-- CODE_CHANGES_COMMENT -->
### 👓 How to review these changes
Thank you for your contribution. To review these changes, you can:
Thank you for your contribution. To review these changes, choose one of the following options:
1. [Spin up a codespace](https://docs.github.com/en/contributing/setting-up-your-environment-to-work-on-github-docs/working-on-github-docs-in-a-codespace)
1. [Set up a local development environment](https://docs.github.com/en/contributing/setting-up-your-environment-to-work-on-github-docs/creating-a-local-environment#setting-up-your-local-environment)
* [Spin up a codespace](https://docs.github.com/en/contributing/setting-up-your-environment-to-work-on-github-docs/working-on-github-docs-in-a-codespace)
* [Set up a local development environment](https://docs.github.com/en/contributing/setting-up-your-environment-to-work-on-github-docs/creating-a-local-environment#setting-up-your-local-environment)
This pull request contains code changes, so we will not generate a table of review links. A Hubber will need to deploy your changes internally to review.
Expand All @@ -63,11 +63,11 @@ jobs:
COMMENT_BODY="<!-- CODE_CHANGES_COMMENT -->
### 👓 How to review these changes
Thank you for your contribution. To review these changes, you can:
Thank you for your contribution. To review these changes, choose one of the following options:
1. [Spin up a codespace](https://github.com/github/docs-team/blob/main/contributing-to-docs/use-a-codespace-to-review.md).
1. [Set up a local development environment](https://docs.github.com/en/contributing/setting-up-your-environment-to-work-on-github-docs/creating-a-local-environment#setting-up-your-local-environment).
1. Message \`#docs-engineering\` on Slack for a staging server.
* [Spin up a codespace](https://github.com/github/docs-team/blob/main/contributing-to-docs/use-a-codespace-to-review.md).
* [Set up a local development environment](https://docs.github.com/en/contributing/setting-up-your-environment-to-work-on-github-docs/creating-a-local-environment#setting-up-your-local-environment).
* Message \`#docs-engineering\` on Slack for a staging server.
This pull request contains code changes, so we will not generate a table of review links.
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/comment-content-changes-table.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,11 +91,11 @@ jobs:
<!-- MODIFIED_CONTENT_LINKING_COMMENT -->
### 👓 How to review these changes
Thank you for your contribution. To review these changes, you can:
Thank you for your contribution. To review these changes, choose one of the following options:
1. [Spin up a codespace](https://github.com/github/docs-team/blob/main/contributing-to-docs/use-a-codespace-to-review.md).
1. [Set up a local development environment](https://docs.github.com/en/contributing/setting-up-your-environment-to-work-on-github-docs/creating-a-local-environment#setting-up-your-local-environment).
1. Message \`#docs-engineering\` on Slack for a staging server.
* [Spin up a codespace](https://github.com/github/docs-team/blob/main/contributing-to-docs/use-a-codespace-to-review.md).
* [Set up a local development environment](https://docs.github.com/en/contributing/setting-up-your-environment-to-work-on-github-docs/creating-a-local-environment#setting-up-your-local-environment).
* Message \`#docs-engineering\` on Slack for a staging server.
<details><summary>Table of review links</summary>
Expand Down Expand Up @@ -124,10 +124,10 @@ jobs:
<!-- MODIFIED_CONTENT_LINKING_COMMENT -->
### 👓 How to review these changes
Thank you for your contribution. To review these changes, you can:
Thank you for your contribution. To review these changes, choose one of the following options:
1. [Spin up a codespace](https://docs.github.com/en/contributing/setting-up-your-environment-to-work-on-github-docs/working-on-github-docs-in-a-codespace)
1. [Set up a local development environment](https://docs.github.com/en/contributing/setting-up-your-environment-to-work-on-github-docs/creating-a-local-environment#setting-up-your-local-environment)
* [Spin up a codespace](https://docs.github.com/en/contributing/setting-up-your-environment-to-work-on-github-docs/working-on-github-docs-in-a-codespace)
* [Set up a local development environment](https://docs.github.com/en/contributing/setting-up-your-environment-to-work-on-github-docs/creating-a-local-environment#setting-up-your-local-environment)
A Hubber will need to deploy your changes internally to review.
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/reviewers-docs-engineering.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ on:
- '!src/**.yml' # So that Docs Engineering isn't reviewing automated pipeline data PRs
- '.github/**'
- 'config/**'
- '.devcontainer/**'
- '**Dockerfile'
- 'package*.json'
- .github/workflows/reviewers-docs-engineering.yml
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,27 +68,35 @@ Root storage refers to the total size of your instance's root disk. The availabl
> [!WARNING]
> Before increasing the root partition size, you must put your instance in maintenance mode. For more information, see [AUTOTITLE](/admin/configuration/configuring-your-enterprise/enabling-and-scheduling-maintenance-mode).
1. Attach a new disk to your {% data variables.product.prodname_ghe_server %} appliance.
1. Run the `lsblk` command to identify the new disk's device name.{% ifversion ghes > 3.13 %}
1. Back up your existing EFI boot partition:
{% ifversion ghes > 3.13 %}
Before resizing the root partition, determine whether the appliance has a GUID partition table.

On instances created from GHES releases 3.14 and later, follow the instructions for [Increasing the root partition size on a GUID partition table](#increasing-the-root-partition-size-on-a-guid-partition-table).

On instances created from GHES releases prior to 3.14, follow the instructions for [Increasing the root partition size on a legacy partition table](#increasing-the-root-partition-size-on-a-legacy-partition-table).

To verify the partition table type, run the following command. The result should be either `gpt` or `msdos`.

```shell
sudo dd if=/dev/disk/by-label/EFIBOOT of=EFIBOOT.bak bs=1M
sudo lsblk -no pttype $(findmnt -no source /)
```

{% endif %}

1. Run the `parted` command to format the disk, substituting your device name for `/dev/xvdg`:
1. Attach a new disk to your {% data variables.product.prodname_ghe_server %} appliance.
1. Run the `lsblk` command to identify the new disk's device name.

{% ifversion ghes < 3.14 %}
{% ifversion ghes > 3.13 %}

### Increasing the root partition size on a GUID partition table

1. Back up your existing EFI boot partition:

```shell
sudo parted /dev/xvdg mklabel msdos
sudo parted /dev/xvdg mkpart primary ext4 0% 50%
sudo parted /dev/xvdg mkpart primary ext4 50% 100%
sudo dd if=/dev/disk/by-label/EFIBOOT of=EFIBOOT.bak bs=1M
```

{% else %}
1. Run the `parted` command to format the disk, substituting your device name for `/dev/xvdg`:

```shell
sudo parted /dev/xvdg mklabel gpt
Expand All @@ -102,8 +110,6 @@ Root storage refers to the total size of your instance's root disk. The availabl
sudo parted -a optimal /dev/xvdg mkpart primary 50% 100%
```

{% endif %}

1. If your appliance is configured for high-availability or geo-replication, to stop replication run the `ghe-repl-stop` command on each replica node:

```shell
Expand All @@ -112,32 +118,58 @@ Root storage refers to the total size of your instance's root disk. The availabl

1. To install the {% data variables.product.prodname_ghe_server %} software on the newly partitioned disk, run the `ghe-upgrade` command. You must replace **PACKAGE-NAME.pkg** with the path to a platform-specific upgrade package that matches the version of {% data variables.product.prodname_ghe_server %} already running on the appliance. You cannot use a universal hotpatch upgrade package, such as `github-enterprise-2.11.9.hpkg`. After the `ghe-upgrade` command completes, application services will automatically terminate.

{% ifversion ghes < 3.14 %}
```shell
ghe-upgrade PACKAGE-NAME.pkg -s -t /dev/xvdg3
```

1. Run these commands on the secondary partitions of the newly added disk:

```shell
ghe-upgrade PACKAGE-NAME.pkg -s -t /dev/xvdg1
sudo dd if=/dev/disk/by-label/EFIBOOT of=/dev/xvdg2 bs=1M
sudo mkfs.ext4 -L fallback /dev/xvdg4
```

1. Run the command on the secondary partition of the newly added disk:
1. Shut down the appliance:

```shell
sudo mkfs.ext4 -L fallback /dev/xvdg2
sudo poweroff
```

{% else %}
1. In the hypervisor, remove the old root disk and attach the new root disk at the same location as the old root disk.
1. Start the appliance.
1. Ensure system services are functioning correctly, then release maintenance mode. For more information, see [AUTOTITLE](/admin/configuration/configuring-your-enterprise/enabling-and-scheduling-maintenance-mode).

If your appliance is configured for high-availability or geo-replication, remember to start replication on each replica node using `ghe-repl-start` after the storage on all nodes has been upgraded.

### Increasing the root partition size on a legacy partition table

{% endif %}

1. Run the `parted` command to format the disk, substituting your device name for `/dev/xvdg`:

```shell
ghe-upgrade PACKAGE-NAME.pkg -s -t /dev/xvdg3
sudo parted /dev/xvdg mklabel msdos
sudo parted /dev/xvdg mkpart primary ext4 0% 50%
sudo parted /dev/xvdg mkpart primary ext4 50% 100%
```

1. Run these commands on the secondary partitions of the newly added disk:
1. If your appliance is configured for high-availability or geo-replication, to stop replication run the `ghe-repl-stop` command on each replica node:

```shell
sudo dd if=/dev/disk/by-label/EFIBOOT of=/dev/xvdg2 bs=1M
sudo mkfs.ext4 -L fallback /dev/xvdg4
ghe-repl-stop
```

{% endif %}
1. To install the {% data variables.product.prodname_ghe_server %} software on the newly partitioned disk, run the `ghe-upgrade` command. You must replace **PACKAGE-NAME.pkg** with the path to a platform-specific upgrade package that matches the version of {% data variables.product.prodname_ghe_server %} already running on the appliance. You cannot use a universal hotpatch upgrade package, such as `github-enterprise-2.11.9.hpkg`. After the `ghe-upgrade` command completes, application services will automatically terminate.

```shell
ghe-upgrade PACKAGE-NAME.pkg -s -t /dev/xvdg1
```

1. Run the command on the secondary partition of the newly added disk:

```shell
sudo mkfs.ext4 -L fallback /dev/xvdg2
```

1. Shut down the appliance:

Expand Down
2 changes: 1 addition & 1 deletion src/github-apps/lib/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,5 +60,5 @@
"2022-11-28"
]
},
"sha": "a06f88d7e84c4fde21c3d915cd510e858f0c8fe5"
"sha": "2320d61e4c805300787f8551fda53076bb4fae8b"
}
20 changes: 9 additions & 11 deletions src/rest/data/fpt-2022-11-28/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -237475,7 +237475,7 @@
"type": "object",
"properties": {
"seat_breakdown": {
"title": "Copilot Business Seat Breakdown",
"title": "Copilot Seat Breakdown",
"description": "The breakdown of Copilot Business seats for the organization.",
"type": "object",
"properties": {
Expand All @@ -237493,7 +237493,7 @@
},
"pending_invitation": {
"type": "integer",
"description": "The number of seats that have been assigned to users that have not yet accepted an invitation to this organization."
"description": "The number of users who have been invited to receive a Copilot seat through this organization."
},
"active_this_cycle": {
"type": "integer",
Expand All @@ -237507,17 +237507,16 @@
},
"public_code_suggestions": {
"type": "string",
"description": "The organization policy for allowing or disallowing Copilot to make suggestions that match public code.",
"description": "The organization policy for allowing or blocking suggestions matching public code (duplication detection filter).",
"enum": [
"allow",
"block",
"unconfigured",
"unknown"
"unconfigured"
]
},
"ide_chat": {
"type": "string",
"description": "The organization policy for allowing or disallowing organization members to use Copilot Chat within their editor.",
"description": "The organization policy for allowing or disallowing Copilot Chat in the IDE.",
"enum": [
"enabled",
"disabled",
Expand All @@ -237526,7 +237525,7 @@
},
"platform_chat": {
"type": "string",
"description": "The organization policy for allowing or disallowing organization members to use Copilot features within github.com.",
"description": "The organization policy for allowing or disallowing Copilot features on GitHub.com.",
"enum": [
"enabled",
"disabled",
Expand All @@ -237535,7 +237534,7 @@
},
"cli": {
"type": "string",
"description": "The organization policy for allowing or disallowing organization members to use Copilot within their CLI.",
"description": "The organization policy for allowing or disallowing Copilot in the CLI.",
"enum": [
"enabled",
"disabled",
Expand All @@ -237557,8 +237556,7 @@
"description": "The Copilot plan of the organization, or the parent enterprise, when applicable.",
"enum": [
"business",
"enterprise",
"unknown"
"enterprise"
]
}
},
Expand Down Expand Up @@ -344032,7 +344030,7 @@
"type": "integer",
"name": "sub_issue_id",
"in": "body",
"description": "<p>The id of the sub-issue to add. The sub-issue must belong to the same repository as the parent issue</p>",
"description": "<p>The id of the sub-issue to add. The sub-issue must belong to the same repository owner as the parent issue</p>",
"isRequired": true
},
{
Expand Down
20 changes: 9 additions & 11 deletions src/rest/data/ghec-2022-11-28/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -251392,7 +251392,7 @@
"type": "object",
"properties": {
"seat_breakdown": {
"title": "Copilot Business Seat Breakdown",
"title": "Copilot Seat Breakdown",
"description": "The breakdown of Copilot Business seats for the organization.",
"type": "object",
"properties": {
Expand All @@ -251410,7 +251410,7 @@
},
"pending_invitation": {
"type": "integer",
"description": "The number of seats that have been assigned to users that have not yet accepted an invitation to this organization."
"description": "The number of users who have been invited to receive a Copilot seat through this organization."
},
"active_this_cycle": {
"type": "integer",
Expand All @@ -251424,17 +251424,16 @@
},
"public_code_suggestions": {
"type": "string",
"description": "The organization policy for allowing or disallowing Copilot to make suggestions that match public code.",
"description": "The organization policy for allowing or blocking suggestions matching public code (duplication detection filter).",
"enum": [
"allow",
"block",
"unconfigured",
"unknown"
"unconfigured"
]
},
"ide_chat": {
"type": "string",
"description": "The organization policy for allowing or disallowing organization members to use Copilot Chat within their editor.",
"description": "The organization policy for allowing or disallowing Copilot Chat in the IDE.",
"enum": [
"enabled",
"disabled",
Expand All @@ -251443,7 +251442,7 @@
},
"platform_chat": {
"type": "string",
"description": "The organization policy for allowing or disallowing organization members to use Copilot features within github.com.",
"description": "The organization policy for allowing or disallowing Copilot features on GitHub.com.",
"enum": [
"enabled",
"disabled",
Expand All @@ -251452,7 +251451,7 @@
},
"cli": {
"type": "string",
"description": "The organization policy for allowing or disallowing organization members to use Copilot within their CLI.",
"description": "The organization policy for allowing or disallowing Copilot in the CLI.",
"enum": [
"enabled",
"disabled",
Expand All @@ -251474,8 +251473,7 @@
"description": "The Copilot plan of the organization, or the parent enterprise, when applicable.",
"enum": [
"business",
"enterprise",
"unknown"
"enterprise"
]
}
},
Expand Down Expand Up @@ -376569,7 +376567,7 @@
"type": "integer",
"name": "sub_issue_id",
"in": "body",
"description": "<p>The id of the sub-issue to add. The sub-issue must belong to the same repository as the parent issue</p>",
"description": "<p>The id of the sub-issue to add. The sub-issue must belong to the same repository owner as the parent issue</p>",
"isRequired": true
},
{
Expand Down
2 changes: 1 addition & 1 deletion src/rest/lib/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,5 +50,5 @@
]
}
},
"sha": "a06f88d7e84c4fde21c3d915cd510e858f0c8fe5"
"sha": "2320d61e4c805300787f8551fda53076bb4fae8b"
}
2 changes: 1 addition & 1 deletion src/webhooks/lib/config.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"sha": "a06f88d7e84c4fde21c3d915cd510e858f0c8fe5"
"sha": "2320d61e4c805300787f8551fda53076bb4fae8b"
}

0 comments on commit 98c1364

Please sign in to comment.