Skip to content

Commit 5e286fd

Browse files
authored
Merge branch 'main' into make-developer-redirects-static
2 parents 3aed23b + 4be15f7 commit 5e286fd

27 files changed

Lines changed: 5914 additions & 855 deletions

content/actions/reference/workflow-syntax-for-github-actions.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -299,6 +299,7 @@ Available {% data variables.product.prodname_dotcom %}-hosted runner types are:
299299
{% data reusables.github-actions.supported-github-runners %}
300300

301301
{% data reusables.github-actions.ubuntu-runner-preview %}
302+
{% data reusables.github-actions.macos-runner-preview %}
302303

303304
##### Example
304305

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
---
2+
title: About GitHub AE
3+
intro: '{% data variables.product.prodname_ghe_managed %} is the most secure and compliant way to use {% data variables.product.prodname_dotcom %}.'
4+
versions:
5+
github-ae: '*'
6+
---
7+
8+
### About {% data variables.product.prodname_ghe_managed %}
9+
10+
{% data reusables.github-ae.github-ae-enables-you %}
11+
12+
{% data variables.product.prodname_ghe_managed %} offers one developer platform from idea to production. You can increase developer velocity, automate entire workflows, secure your code, and collaborate in developers’ favorite tool.
13+
14+
{% data variables.product.prodname_ghe_managed %} provides your organization with all the power of [{% data variables.product.prodname_enterprise %}](https://github.com/enterprise). With {% data variables.product.prodname_ghe_managed %}, you can also meet security and compliance goals with a suite of features and certifications that put you in control.
15+
16+
### A highly available and planet-scale cloud
17+
18+
{% data variables.product.prodname_ghe_managed %} is a fully managed service, hosted in a high availability architecture. {% data variables.product.prodname_ghe_managed %} is hosted globally in a cloud that can scale to support your full development lifecycle without limits. {% data variables.product.prodname_dotcom %} fully manages backups, failover, and disaster recovery, so you never need to worry about your service or data.
19+
20+
### Data residency
21+
22+
All of your data is stored within the geographic region of your choosing. You can comply with GDPR and global data protection standards by keeping all of your data within your chosen region.
23+
24+
### Encryption on your terms
25+
26+
All customer data is encrypted at rest, and you can provide your own encryption key to encrypt your data under your encryption policies. You control your key and access to all of your data. For more information, see "[Configuring data encryption for your enterprise](/admin/configuration/configuring-data-encryption-for-your-enterprise)."
27+
28+
### Isolated accounts
29+
30+
All developer accounts are fully isolated in {% data variables.product.prodname_ghe_managed %}. You can fully control the accounts through your identity provider, with SAML single sign on as mandatory. SCIM enables you to ensure that employees only have access to the resources they should, as defined in your central identity management system. For more information, see "[Managing identity and access for your enterprise](/admin/authentication/managing-identity-and-access-for-your-enterprise)."
31+
32+
### Restricted network access
33+
34+
Secure access to your enterprise on {% data variables.product.prodname_ghe_managed %} with restricted network access, so that your data can only be accessed from within your network. For more information, see "[Restricting network traffic to your enterprise](/admin/configuration/restricting-network-traffic-to-your-enterprise)."
35+
36+
### Commercial and government environments
37+
38+
{% data variables.product.prodname_ghe_managed %} is available in the Azure Government cloud, the trusted cloud for US government agencies and their partners. {% data variables.product.prodname_ghe_managed %} is also available in the commercial cloud, so you can choose the hosting environment that is right for your organization.
39+
40+
### Premium Plus support
41+
42+
Premium Plus support is available for all {% data variables.product.prodname_ghe_managed %} customers, to ensure you have the fastest and most personal support experience. A dedicated Account Manager will work with you to help you get the most out of {% data variables.product.prodname_dotcom %}. Our support team will resolve issues any time of day, in the shortest possible time.
43+
44+
### About billing for {% data variables.product.prodname_ghe_managed %}
45+
46+
{% data reusables.github-ae.about-billing %} For more information, see "[Managing billing for your enterprise](/admin/overview/managing-billing-for-your-enterprise)."

content/admin/overview/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ For more information, or to purchase {% data variables.product.prodname_enterpri
1212

1313
### Table of Contents
1414

15+
{% link_in_list /about-github-ae %}
1516
{% link_in_list /about-enterprise-accounts %}
1617
{% link_in_list /managing-your-github-enterprise-license %}
1718
{% link_in_list /managing-billing-for-your-enterprise %}

content/github/setting-up-and-managing-organizations-and-teams/reviewing-the-audit-log-for-your-organization.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ To ensure a secure IP and maintain compliance for your organization, you can use
127127
{% data reusables.audit_log.audit-log-api-info %}
128128

129129
{% if currentVersion == "free-pro-team@latest" %}
130-
Note that you can't retrieve Git events using the GraphQL API.
130+
Note that you can't retrieve Git events using the GraphQL API. To retrieve Git events, use the REST API instead. For more information, see "[`git` category actions](#git-category-actions)."
131131
{% endif %}
132132

133133
The GraphQL response can include data for up to 90 to 120 days.

content/github/setting-up-and-managing-your-github-profile/managing-your-profile-readme.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,8 @@ GitHub will display your profile README on your profile page if all of the follo
5454
The generated README file is pre-populated with a template to give you some inspiration for your profile README.
5555
![README file with pre-populated template](/assets/images/help/repository/personal-repository-readme-template.png)
5656

57+
For a summary of all the available emojis and their codes, see "[Emoji cheat sheet](http://www.emoji-cheat-sheet.com/)."
58+
5759
### Removing a profile README
5860

5961
The profile README is removed from your {% data variables.product.prodname_dotcom %} profile if any of the following apply:

content/github/site-policy/github-subprocessors-and-cookies.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ versions:
1010
free-pro-team: '*'
1111
---
1212

13-
Effective date: **January 6, 2021**
13+
Effective date: **January 21, 2021**
1414

1515
GitHub provides a great deal of transparency regarding how we use your data, how we collect your data, and with whom we share your data. To that end, we provide this page, which details [our subprocessors](#github-subprocessors), and how we use [cookies](#cookies-on-github).
1616

@@ -34,10 +34,9 @@ When we share your information with third party subprocessors, such as our vendo
3434
| Monday.com | Team collaboration and project management platform | United States | Israel |
3535
| Nexmo | SMS notification provider | United States | United States |
3636
| Salesforce.com | Customer relations management | United States | United States |
37-
| Sendgrid | Transactional mail services provider | United States | United States |
3837
| Sentry.io | Application monitoring provider | United States | United States |
3938
| Stripe | Payment provider | United States | United States |
40-
| Twilio | SMS notification provider | United States | United States |
39+
| Twilio & Twilio Sendgrid | SMS notification provider & transactional mail service provider | United States | United States |
4140
| Zendesk | Customer support ticketing system | United States | United States |
4241
| Zuora | Corporate billing system | United States | United States |
4342

@@ -47,7 +46,7 @@ When we bring on a new subprocessor who handles our Users' Personal Information,
4746

4847
GitHub uses cookies to provide and secure our websites, as well as to analyze the usage of our websites, in order to offer you a great user experience. Please take a look at our [Privacy Statement](/github/site-policy/github-privacy-statement#our-use-of-cookies-and-tracking) if you’d like more information about cookies, and on how and why we use them.
4948

50-
Since the number and names of cookies may change,the table below may be updated from time to time.
49+
Since the number and names of cookies may change, the table below may be updated from time to time.
5150

5251
| Service Provider | Cookie Name | Description | Expiration* |
5352
|:---|:---|:---|:---|

content/rest/reference/permissions-required-for-github-apps.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ _Search_
107107
- [`GET /search/topics`](/rest/reference/search#search-topics)
108108
- [`GET /search/users`](/rest/reference/search#search-users)
109109

110-
{% if currentVersion == "free-pro-team@latest" %}
110+
{% if currentVersion == "free-pro-team@latest" or currentVersion ver_gt "enterprise-server@2.21" %}
111111
### Permission on "actions"
112112

113113
- [`GET /repos/:owner/:repo/actions/artifacts`](/rest/reference/actions#list-artifacts-for-a-repository) (:read)
@@ -202,6 +202,9 @@ _Branches_
202202
- [`POST /repos/:owner/:repo/branches/:branch/protection/restrictions/users`](/rest/reference/repos#add-user-access-restrictions) (:write)
203203
- [`PUT /repos/:owner/:repo/branches/:branch/protection/restrictions/users`](/rest/reference/repos#set-user-access-restrictions) (:write)
204204
- [`DELETE /repos/:owner/:repo/branches/:branch/protection/restrictions/users`](/rest/reference/repos#remove-user-access-restrictions) (:write)
205+
{% if currentVersion == "free-pro-team@latest" or currentVersion ver_gt "enterprise-server@3.0" or currentVersion == "github-ae@latest" %}
206+
- [`POST /repos/:owner/:repo/branches/:branch/rename`](/rest/reference/repos#rename-a-branch) (:write)
207+
{% endif %}
205208

206209
_Collaborators_
207210
- [`PUT /repos/:owner/:repo/collaborators/:username`](/rest/reference/repos#add-a-repository-collaborator) (:write)
@@ -347,6 +350,9 @@ _Branches_
347350
- [`POST /repos/:owner/:repo/branches/:branch/protection/restrictions/apps`](/rest/reference/repos#add-app-access-restrictions) (:write)
348351
- [`PUT /repos/:owner/:repo/branches/:branch/protection/restrictions/apps`](/rest/reference/repos#set-app-access-restrictions) (:write)
349352
- [`DELETE /repos/:owner/:repo/branches/:branch/protection/restrictions/apps`](/rest/reference/repos#remove-user-access-restrictions) (:write)
353+
{% if currentVersion == "free-pro-team@latest" or currentVersion ver_gt "enterprise-server@3.0" or currentVersion == "github-ae@latest" %}
354+
- [`POST /repos/:owner/:repo/branches/:branch/rename`](/rest/reference/repos#rename-a-branch) (:write)
355+
{% endif %}
350356

351357
_Commit comments_
352358
- [`PATCH /repos/:owner/:repo/comments/:comment_id`](/rest/reference/repos#update-a-commit-comment) (:write)
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{% note %}
22

3-
**Note:** The macOS 11.0 virtual environment is currently provided as a preview only. The `macos-latest` YAML workflow label still uses the macOS 10.15 virtual environment.
3+
**Note:** The macOS 11.0 virtual environment is currently provided as a private preview only. Any users or organizations that are already using this runner can continue using it, but we're not accepting any further users or organizations at this time. The `macos-latest` YAML workflow label still uses the macOS 10.15 virtual environment.
44

55
{% endnote %}

lib/liquid-tags/link.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,9 @@ const Liquid = require('liquid')
44
const liquid = new Liquid.Engine()
55
const LiquidTag = require('./liquid-tag')
66
const findPage = require('../find-page')
7+
const { getPathWithoutLanguage, getPathWithoutVersion } = require('../path-utils')
78
const getApplicableVersions = require('../get-applicable-versions')
8-
const { getPathWithLanguage } = require('../path-utils')
9+
const removeFPTFromPath = require('../remove-fpt-from-path')
910

1011
// This class supports a set of link tags. Each tag expects one parameter, a language-agnostic href:
1112
//
@@ -72,8 +73,8 @@ module.exports = class Link extends LiquidTag {
7273
fullPath = path.join(dirName, href)
7374
}
7475

75-
// add language code
76-
fullPath = getPathWithLanguage(fullPath, ctx.currentLanguage)
76+
// add language code and version
77+
fullPath = removeFPTFromPath(path.posix.join('/', ctx.currentLanguage, ctx.currentVersion, getPathWithoutLanguage(getPathWithoutVersion(fullPath))))
7778

7879
// find the page based on the full path
7980
const page = findPage(fullPath, ctx.pages, ctx.redirects)

lib/path-utils.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,12 @@ function getPathWithoutLanguage (href) {
2222

2323
// Remove the version segment from the path
2424
function getPathWithoutVersion (href) {
25-
return href.replace(`/${getVersionStringFromPath(href)}`, '')
25+
const versionFromPath = getVersionStringFromPath(href)
26+
27+
// If the derived version is not found in the list of all versions, just return the HREF
28+
return allVersions[versionFromPath]
29+
? href.replace(`/${getVersionStringFromPath(href)}`, '')
30+
: href
2631
}
2732

2833
// Return the version segment in a path

0 commit comments

Comments
 (0)