Skip to content

Commit a88552d

Browse files
authored
Merge branch 'main' into scheduled-workflow-tests
2 parents db992f7 + ddad608 commit a88552d

28 files changed

Lines changed: 76 additions & 114 deletions

app.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"formation": {
1313
"web": {
1414
"quantity": 1,
15-
"size": "standard-2x"
15+
"size": "standard-1x"
1616
}
1717
}
1818
}

content/actions/creating-actions/setting-exit-codes-for-actions.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ type: 'how_to'
2323
Exit status | Check run status | Description
2424
------------|------------------|------------
2525
`0` | `success` | The action completed successfully and other tasks that depends on it can begin.
26-
Nonzero value | `failure` | Any other exit code indicates the action failed. When an action fails, all concurrent actions are canceled and future actions are skipped. The check run and check suite both get a `failure` status.
26+
Nonzero value (any integer but 0)| `failure` | Any other exit code indicates the action failed. When an action fails, all concurrent actions are canceled and future actions are skipped. The check run and check suite both get a `failure` status.
2727

2828
### Setting a failure exit code in a JavaScript action
2929

@@ -43,13 +43,11 @@ For more information, see "[Creating a JavaScript action](/articles/creating-a-j
4343

4444
If you are creating a Docker container action, you can set a failure exit code in your `entrypoint.sh` script. For example:
4545

46-
{% raw %}
4746
```
4847
if <condition> ; then
4948
echo "Game over!"
5049
exit 1
5150
fi
5251
```
53-
{% endraw %}
5452

5553
For more information, see "[Creating a Docker container action](/articles/creating-a-docker-container-action)."

content/actions/guides/building-and-testing-net.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ jobs:
246246
source-url: https://nuget.pkg.github.com/<owner>/index.json
247247
env:
248248
NUGET_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
249-
- run: dotnet build <my project>
249+
- run: dotnet build --configuration Release <my project>
250250
- name: Create the package
251251
run: dotnet pack --configuration Release <my project>
252252
- name: Publish the package to GPR

content/admin/enterprise-management/increasing-cpu-or-memory-resources.md

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,14 +30,11 @@ Before increasing CPU or memory resources for {% data variables.product.product_
3030
#### Supported AWS instance types
3131

3232
You need to determine the instance type you would like to upgrade to based on CPU/memory specifications.
33-
{% data reusables.enterprise_installation.aws-supported-instance-types %}
34-
35-
#### Recommended AWS instance types
36-
37-
{% data reusables.enterprise_installation.aws-recommended-instance-types %}
3833

3934
{% data reusables.enterprise_installation.warning-on-scaling %}
4035

36+
{% data reusables.enterprise_installation.aws-instance-recommendation %}
37+
4138
#### Resizing for AWS
4239

4340
{% note %}

content/admin/installation/installing-github-enterprise-server-on-aws.md

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -33,18 +33,12 @@ This guide assumes you are familiar with the following AWS concepts:
3333

3434
### Determining the instance type
3535

36-
Before launching {% data variables.product.product_location %} on AWS, you'll need to determine the type of virtual machine that best fits the needs of your organization.
37-
38-
#### Supported instance types
39-
40-
{% data reusables.enterprise_installation.aws-supported-instance-types %}
41-
42-
#### Recommended instance types
43-
44-
{% data reusables.enterprise_installation.aws-recommended-instance-types %}
36+
Before launching {% data variables.product.product_location %} on AWS, you'll need to determine the machine type that best fits the needs of your organization. To review the minimum requirements for {% data variables.product.product_name %}, see "[Minimum requirements](#minimum-requirements)."
4537

4638
{% data reusables.enterprise_installation.warning-on-scaling %}
4739

40+
{% data reusables.enterprise_installation.aws-instance-recommendation %}
41+
4842
### Selecting the {% data variables.product.prodname_ghe_server %} AMI
4943

5044
You can select an Amazon Machine Image (AMI) for {% data variables.product.prodname_ghe_server %} using the {% data variables.product.prodname_ghe_server %} portal or the AWS CLI.

content/admin/installation/installing-github-enterprise-server-on-azure.md

Lines changed: 5 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -24,26 +24,15 @@ You can deploy {% data variables.product.prodname_ghe_server %} on global Azure
2424

2525
### Determining the virtual machine type
2626

27-
Before launching {% data variables.product.product_location %} on Azure, you'll need to determine the type of virtual machine that best fits the needs of your organization.
27+
Before launching {% data variables.product.product_location %} on Azure, you'll need to determine the machine type that best fits the needs of your organization. To review the minimum requirements for {% data variables.product.product_name %}, see "[Minimum requirements](#minimum-requirements)."
2828

29-
#### Supported VM types and regions
30-
31-
The {% data variables.product.prodname_ghe_server %} appliance requires a premium storage data disk, and is supported on any Azure VM that supports premium storage. For more information, see "[Supported VMs](https://docs.microsoft.com/azure/storage/common/storage-premium-storage#supported-vms)" in the Azure documentation. For general information about available VMs, see [the Azure virtual machines overview page](https://azure.microsoft.com/pricing/details/virtual-machines/#Linux).
32-
33-
{% data variables.product.prodname_ghe_server %} supports any region that supports your VM type. For more information about the supported regions for each VM, see Azure's "[Products available by region](https://azure.microsoft.com/regions/services/)."
34-
35-
#### Recommended VM types
29+
{% data reusables.enterprise_installation.warning-on-scaling %}
3630

37-
We recommend you use a DS v2 instance type with at least 14 GB of RAM. You can use any supported VM type. Based on your user license count, we recommend the following instance types.
31+
The {% data variables.product.prodname_ghe_server %} appliance requires a premium storage data disk, and is supported on any Azure VM that supports premium storage. Azure VM types with the `s` suffix support premium storage. For more information, see "[What disk types are available in Azure?](https://docs.microsoft.com/en-us/azure/virtual-machines/disks-types#premium-ssd)" and "[Azure premium storage: design for high performance](https://docs.microsoft.com/en-us/azure/virtual-machines/premium-storage-performance)" in the Azure documentation.
3832

39-
| Seats | Recommended type |
40-
|:------------:|:----------------:|
41-
| Trial, demo, or 10 light users | Standard_DS11_v2 |
42-
| 10 - 3000 | Standard_DS12_v2 |
43-
| 3000 - 8000 | Standard_DS14_v2 |
44-
| 8000 - 10000+ | Standard_DS15_v2 |
33+
{% data variables.product.company_short %} recommends a memory-optimized VM for {% data variables.product.prodname_ghe_server %}. For more information, see "[Memory optimized virtual machine sizes](https://docs.microsoft.com/en-us/azure/virtual-machines/sizes-memory)" in the Azure documentation.
4534

46-
{% data reusables.enterprise_installation.warning-on-scaling %}
35+
{% data variables.product.prodname_ghe_server %} supports any region that supports your VM type. For more information about the supported regions for each VM, see Azure's "[Products available by region](https://azure.microsoft.com/regions/services/)."
4736

4837
### Creating the {% data variables.product.prodname_ghe_server %} virtual machine
4938

content/admin/installation/installing-github-enterprise-server-on-google-cloud-platform.md

Lines changed: 3 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -22,35 +22,12 @@ topics:
2222

2323
### Determining the machine type
2424

25-
Before launching {% data variables.product.product_location %} on Google Cloud Platform, you'll need to determine the machine type that best fits the needs of your organization.
26-
27-
#### Supported machine types
28-
29-
{% data variables.product.prodname_ghe_server %} is supported on the following Google Compute Engine (GCE) machine types. For more information, see [the Google Cloud Platform machine types article](https://cloud.google.com/compute/docs/machine-types).
30-
31-
| High-memory |
32-
| ------------- |
33-
| n1-highmem-4 |
34-
| n1-highmem-8 |
35-
| n1-highmem-16 |
36-
| n1-highmem-32 |
37-
| n1-highmem-64 |
38-
| n1-highmem-96 |
39-
40-
#### Recommended machine types
41-
42-
Based on your user license count, we recommend these machine types.
43-
44-
| Seats | Recommended type |
45-
|:-------------:|:----------------:|
46-
| Trial, demo, or 10 light users | n1-standard-4 |
47-
| 10 - 3000 | n1-standard-8 |
48-
| 3000 - 5000 | n1-highmem-8 |
49-
| 5000 - 8000 | n1-highmem-16 |
50-
| 8000 - 10000+ | n1-highmem-32 |
25+
Before launching {% data variables.product.product_location %} on Google Cloud Platform, you'll need to determine the machine type that best fits the needs of your organization. To review the minimum requirements for {% data variables.product.product_name %}, see "[Minimum requirements](#minimum-requirements)."
5126

5227
{% data reusables.enterprise_installation.warning-on-scaling %}
5328

29+
{% data variables.product.company_short %} recommends a general-purpose, high-memory machine for {% data variables.product.prodname_ghe_server %}. For more information, see "[Machine types](https://cloud.google.com/compute/docs/machine-types#n2_high-memory_machine_types)" in the Google Compute Engine documentation.
30+
5431
### Selecting the {% data variables.product.prodname_ghe_server %} image
5532

5633
1. Using the [gcloud compute](https://cloud.google.com/compute/docs/gcloud-compute/) command-line tool, list the public {% data variables.product.prodname_ghe_server %} images:

content/code-security/getting-started/about-securing-your-repository.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ These features are available {% if currentVersion == "free-pro-team@latest" %}fo
6969
{% endif %}
7070

7171
{% if currentVersion == "free-pro-team@latest" %}
72-
- **Dependency review** - Show the full impact of changes to dependencies and see details of any vulnerable versions before you merge a pull request. For more information, see "[Reviewing dependency changes in a pull request](/github/collaborating-with-issues-and-pull-requests/reviewing-dependency-changes-in-a-pull-request)."
72+
- **Dependency review** - Show the full impact of changes to dependencies and see details of any vulnerable versions before you merge a pull request. For more information, see "[About dependency review](/code-security/supply-chain-security/about-dependency-review)."
7373
{% endif %}
7474

7575
{% if currentVersion != "github-ae@latest" %}

content/code-security/supply-chain-security/about-alerts-for-vulnerable-dependencies.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,7 @@ When your code depends on a package that has a security vulnerability, this vuln
2424
{% if currentVersion == "free-pro-team@latest" or currentVersion ver_gt "enterprise-server@2.21" %}{% data variables.product.prodname_dependabot %} detects vulnerable dependencies and sends {% data variables.product.prodname_dependabot_alerts %}{% else %}{% data variables.product.product_name %} detects vulnerable dependencies and sends security alerts{% endif %} when:
2525

2626
{% if currentVersion == "free-pro-team@latest" %}
27-
- A new vulnerability is added to the {% data variables.product.prodname_advisory_database %}. For more information, see "[Browsing security vulnerabilities in the {% data variables.product.prodname_advisory_database %}](/github/managing-security-vulnerabilities/browsing-security-vulnerabilities-in-the-github-advisory-database)."
28-
- New vulnerability data from [WhiteSource](https://www.whitesourcesoftware.com/vulnerability-database) is processed.{% else %}
27+
- A new vulnerability is added to the {% data variables.product.prodname_advisory_database %}. For more information, see "[Browsing security vulnerabilities in the {% data variables.product.prodname_advisory_database %}](/github/managing-security-vulnerabilities/browsing-security-vulnerabilities-in-the-github-advisory-database)."{% else %}
2928
- New advisory data is synchronized to {% data variables.product.prodname_ghe_server %} each hour from {% data variables.product.prodname_dotcom_the_website %}. For more information about advisory data, see "<a href="/github/managing-security-vulnerabilities/browsing-security-vulnerabilities-in-the-github-advisory-database" class="dotcom-only">Browsing security vulnerabilities in the {% data variables.product.prodname_advisory_database %}</a>."{% endif %}
3029
- The dependency graph for a repository changes. For example, when a contributor pushes a commit to change the packages or versions it depends on{% if currentVersion == "free-pro-team@latest" %}, or when the code of one of the dependencies changes{% endif %}. For more information, see "[About the dependency graph](/github/visualizing-repository-data-with-graphs/about-the-dependency-graph)."
3130

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
---
2+
title: About dependency review
3+
intro: 'Dependency review lets you catch vulnerable dependencies before you introduce them to your environment, and provides information on license, dependents, and age of dependencies.'
4+
versions:
5+
free-pro-team: '*'
6+
topics:
7+
- pull requests
8+
---
9+
10+
{% note %}
11+
12+
**Note:** Dependency review is currently in beta and subject to change.
13+
14+
{% endnote %}
15+
16+
### About dependency review
17+
18+
{% data reusables.dependency-review.feature-overview %}
19+
20+
If a pull request targets your repository's default branch and contains changes to package manifests or lock files, you can display a dependency review to see what has changed. The dependency review includes details of changes to indirect dependencies in lock files, and it tells you if any of the added or updated dependencies contain known vulnerabilities.
21+
22+
Dependency review is available in:
23+
24+
* All public repositories.
25+
* Private repositories owned by organizations with an {% data variables.product.prodname_advanced_security %} license that have the dependency graph enabled. For more information, see "[Exploring the dependencies of a repository](/github/visualizing-repository-data-with-graphs/exploring-the-dependencies-of-a-repository#enabling-and-disabling-the-dependency-graph-for-a-private-repository)."
26+
27+
Sometimes you might just want to update the version of one dependency in a manifest and generate a pull request. However, if the updated version of this direct dependency also has updated dependencies, your pull request may have more changes than you expected. The dependency review for each manifest and lock file provides an easy way to see what has changed, and whether any of the new dependency versions contain known vulnerabilities.
28+
29+
By checking the dependency reviews in a pull request, and changing any dependencies that are flagged as vulnerable, you can avoid vulnerabilities being added to your project. For more information about how dependency review works, see "[Reviewing dependency changes in a pull request](/github/collaborating-with-issues-and-pull-requests/reviewing-dependency-changes-in-a-pull-request)."
30+
31+
{% data variables.product.prodname_dependabot_alerts %} will find vulnerabilities that are already in your dependencies, but it's much better to avoid introducing potential problems than to fix problems at a later date. For more information about {% data variables.product.prodname_dependabot_alerts %}, see "[About alerts for vulnerable dependencies](/github/managing-security-vulnerabilities/about-alerts-for-vulnerable-dependencies#dependabot-alerts-for-vulnerable-dependencies)."
32+
33+
Dependency review supports the same languages and package management ecosystems as the dependency graph. For more information, see "[About the dependency graph](/github/visualizing-repository-data-with-graphs/about-the-dependency-graph#supported-package-ecosystems)."

0 commit comments

Comments
 (0)