You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// If the PR creator is the expected account, stop now
25
+
if (prCreator === 'Octomerger') {
26
+
return
27
+
}
28
+
29
+
try {
30
+
await github.teams.getMembershipForUserInOrg({
31
+
org: 'github',
32
+
team_slug: 'employees',
33
+
username: prCreator
34
+
})
35
+
36
+
// If the PR creator is a GitHub employee, stop now
37
+
return
38
+
} catch (err) {
39
+
// An error will be thrown if the user is not a GitHub employee.
40
+
// That said, we still want to proceed anyway!
41
+
}
42
+
43
+
const pr = context.payload.pull_request
44
+
const { owner, repo } = context.repo
45
+
46
+
// Close the PR and add the invalid label
47
+
await github.issues.update({
48
+
owner: owner,
49
+
repo: repo,
50
+
issue_number: pr.number,
51
+
labels: ['invalid'],
52
+
state: 'closed'
53
+
})
54
+
55
+
// Comment on the PR
56
+
await github.issues.createComment({
57
+
owner: owner,
58
+
repo: repo,
59
+
issue_number: pr.number,
60
+
body: "Please leave this `repo-sync` branch to the robots!\n\nI'm going to close this pull request now, but feel free to open a new issue or ask any questions in [discussions](https://github.com/github/docs/discussions)!"
stale-pr-message: 'This PR is stale because it has been open 7 days with no activity and will be automatically closed in 3 days. To keep this PR open, update the PR by adding a comment or pushing a commit.'
16
-
days-before-stale: 7
15
+
stale-pr-message: 'This PR is stale because it has been open 21 days with no activity and will be automatically closed in 10 days. To keep this PR open, update the PR by adding a comment or pushing a commit.'
Copy file name to clipboardExpand all lines: content/admin/configuration/configuring-data-encryption-for-your-enterprise.md
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,7 +20,7 @@ For encryption in transit, {% data variables.product.product_name %} uses Transp
20
20
21
21
The key that you provide is stored in a hardware security module (HSM) in a key vault that {% data variables.product.company_short %} manages.
22
22
23
-
To configure your encryption key, use the REST API. There are a number of API endpoints, for example to check the status of encryption, update your encryption key, and delete your encryption key. Note that deleting your key will freeze your enterprise. For more information about the API endpoints, see "[Encryption at rest](/rest/reference/enterprise-admin#encryption-at-rest)" in the REST API documentation.
23
+
To configure your encryption key, use the REST API. There are a number of API endpoints, for example to check the status of encryption, update your encryption key, and disable your encryption key. Note that disabling your key will freeze your enterprise. For more information about the API endpoints, see "[Encryption at rest](/rest/reference/enterprise-admin#encryption-at-rest)" in the REST API documentation.
24
24
25
25
### Adding or updating an encryption key
26
26
@@ -48,24 +48,24 @@ Your 2048 bit RSA private key should be in PEM format, for example in a file cal
48
48
curl -X GET http(s)://<em>hostname</em>/api/v3/enterprise/encryption/status/<em>request_id</em>
49
49
```
50
50
51
-
### Deleting your encryption key
51
+
### Disabling your encryption key
52
52
53
-
To freeze your enterprise, for example in the case of a breach, you can disable encryption at rest by deleting your encryption key.
53
+
To freeze your enterprise, for example in the case of a breach, you can disable encryption at rest by marking your encryption key as disabled.
54
54
55
-
To unfreeze your enterprise after you've deleted your encryption key, contact support. For more information, see "[About {% data variables.contact.enterprise_support %}](/admin/enterprise-support/about-github-enterprise-support)."
56
-
57
-
1. To delete your key and disable encryption at rest, use the `DELETE /enterprise/encryption` endpoint.
55
+
1. To disable your key and encryption at rest, use the `DELETE /enterprise/encryption` endpoint. This operation does not delete the key permanently.
2. Optionally, check the status of the delete operation.
61
+
2. Optionally, check the status of the delete operation. It takes approximately ten minutes to disable encryption at rest.
64
62
65
63
```shell
66
64
curl -X GET http(s)://<em>hostname</em>/api/v3/enterprise/encryption/status/<em>request_id</em>
67
65
```
68
66
67
+
To unfreeze your enterprise after you've disabled your encryption key, contact support. For more information, see "[About {% data variables.contact.enterprise_support %}](/admin/enterprise-support/about-github-enterprise-support)."
68
+
69
69
### Further reading
70
70
71
71
- "[Encryption at rest](/rest/reference/enterprise-admin#encryption-at-rest)" in the REST API documentation
Copy file name to clipboardExpand all lines: content/admin/enterprise-management/upgrading-github-enterprise-server.md
+20Lines changed: 20 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -29,6 +29,26 @@ versions:
29
29
30
30
{% endnote %}
31
31
32
+
{% if currentVersion ver_gt "enterprise-server@2.20" and currentVersion ver_lt "enterprise-server@3.2" %}
33
+
34
+
### About minimum requirements for {% data variables.product.prodname_ghe_server %} 3.0 and later
35
+
36
+
Before upgrading to {% data variables.product.prodname_ghe_server %} 3.0 or later, review the hardware resources you've provisioned for your instance. {% data variables.product.prodname_ghe_server %} 3.0 introduces new features such as {% data variables.product.prodname_actions %} and {% data variables.product.prodname_registry %}, and requires more resources than versions 2.22 and earlier. For more information, see the [{% data variables.product.prodname_ghe_server %} 3.0 release notes](/enterprise-server@3.0/admin/release-notes).
37
+
38
+
Increased requirements for {% data variables.product.prodname_ghe_server %} 3.0 and later are **bold** in the following table.
| Trial, demo, or 10 light users |**4**<br/>_Up from 2_|**32 GB**<br/>_Up from 16 GB_|**150 GB**<br/>_Up from 100 GB_| 200 GB |
43
+
| 10 to 3,000 |**8**<br/>_Up from 4_|**48 GB**<br/>_Up from 32 GB_|**300 GB**<br/>_Up from 250 GB_| 200 GB |
44
+
| 3,000 to 5000 |**12**<br/>_Up from 8_| 64 GB | 500 GB | 200 GB |
45
+
| 5,000 to 8000 |**16**<br/>_Up from 12_| 96 GB | 750 GB | 200 GB |
46
+
| 8,000 to 10,000+ |**20**<br/>_Up from 16_|**160 GB**<br/>_Up from 128 GB_| 1000 GB | 200 GB |
47
+
48
+
{% data reusables.enterprise_installation.about-adjusting-resources %}
49
+
50
+
{% endif %}
51
+
32
52
### Taking a snapshot
33
53
34
54
A snapshot is a checkpoint of a virtual machine (VM) at a point in time. We highly recommend taking a snapshot before upgrading your virtual machine so that if an upgrade fails, you can revert your VM back to the snapshot. If you're upgrading to a new feature release, you must take a VM snapshot. If you're upgrading to a patch release, you can attach the existing data disk.
Copy file name to clipboardExpand all lines: content/admin/github-actions/getting-started-with-github-actions-for-github-enterprise-server.md
+25-9Lines changed: 25 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,26 +9,42 @@ versions:
9
9
enterprise-server: '>=2.22'
10
10
---
11
11
12
-
{% if currentVersion == "enterprise-server@2.22" %}
13
-
{% note %}
14
-
15
-
**Note:** {% data variables.product.prodname_actions %} support on {% data variables.product.prodname_ghe_server %} 2.22 is a limited public beta. Review the external storage requirements below and [sign up for the beta](https://resources.github.com/beta-signup/).
16
-
17
-
{% endnote %}
18
-
{% endif %}
12
+
{% data reusables.actions.enterprise-beta %}
19
13
20
14
{% data reusables.actions.enterprise-github-hosted-runners %}
21
15
22
16
{% if currentVersion ver_gt "enterprise-server@2.22" %}
23
17
24
18
This article explains how site administrators can configure {% data variables.product.prodname_ghe_server %} to use {% data variables.product.prodname_actions %}. It covers the hardware and software requirements, presents the storage options, and describes the security management policies.
25
19
20
+
{% endif %}
21
+
26
22
### Review hardware considerations
27
23
28
-
{% data reusables.actions.enterprise-hardware-considerations %}
24
+
{% if currentVersion == "enterprise-server@2.22" or currentVersion == "enterprise-server@3.0" %}
25
+
26
+
{% note %}
27
+
28
+
**Note**: {% if currentVersion == "enterprise-server@2.22" %}{% data variables.product.prodname_actions %} was available for {% data variables.product.prodname_ghe_server %} 2.22 as a limited beta. {% endif %}If you're upgrading an existing {% data variables.product.prodname_ghe_server %} instance to 3.0 or later and want to configure {% data variables.product.prodname_actions %}, note that the minimum hardware requirements have increased. For more information, see "[Upgrading {% data variables.product.prodname_ghe_server %}](/admin/enterprise-management/upgrading-github-enterprise-server#about-minimum-requirements-for-github-enterprise-server-30-and-later)."
29
+
30
+
{% endnote %}
29
31
30
32
{% endif %}
31
33
34
+
{% data reusables.actions.enterprise-hardware-considerations %}
35
+
36
+
For more information about resource requirements for {% data variables.product.prodname_ghe_server %}, see the hardware considerations for your instance's platform.
{% data reusables.enterprise_installation.about-adjusting-resources %}
47
+
32
48
### External storage requirements
33
49
34
50
To enable {% data variables.product.prodname_actions %} on {% data variables.product.prodname_ghe_server %}, you must have access to external blob storage.
@@ -55,7 +71,7 @@ To enable {% data variables.product.prodname_actions %} on {% data variables.pro
55
71
56
72
### Enabling {% data variables.product.prodname_actions %}
57
73
58
-
{% data variables.product.prodname_actions %} support on {% data variables.product.prodname_ghe_server %} 2.22 is a limited public beta. [Sign up for the beta](https://resources.github.com/beta-signup/).
74
+
{% data variables.product.prodname_actions %} support on {% data variables.product.prodname_ghe_server %} 2.22 was available as a limited beta. To configure {% data variables.product.prodname_actions %} for your instance, upgrade to {% data variables.product.prodname_ghe_server %} 3.0 or later. For more information, see the [{% data variables.product.prodname_ghe_server %} 3.0 release notes](/enterprise-server@3.0/admin/release-notes) and "[Upgrading {% data variables.product.prodname_ghe_server %}](/admin/enterprise-management/upgrading-github-enterprise-server)."
0 commit comments