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
Copy file name to clipboardExpand all lines: content/actions/creating-actions/setting-exit-codes-for-actions.md
+1-3Lines changed: 1 addition & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -23,7 +23,7 @@ type: 'how_to'
23
23
Exit status | Check run status | Description
24
24
------------|------------------|------------
25
25
`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.
27
27
28
28
### Setting a failure exit code in a JavaScript action
29
29
@@ -43,13 +43,11 @@ For more information, see "[Creating a JavaScript action](/articles/creating-a-j
43
43
44
44
If you are creating a Docker container action, you can set a failure exit code in your `entrypoint.sh` script. For example:
45
45
46
-
{% raw %}
47
46
```
48
47
if <condition> ; then
49
48
echo "Game over!"
50
49
exit 1
51
50
fi
52
51
```
53
-
{% endraw %}
54
52
55
53
For more information, see "[Creating a Docker container action](/articles/creating-a-docker-container-action)."
Copy file name to clipboardExpand all lines: content/admin/installation/installing-github-enterprise-server-on-aws.md
+3-9Lines changed: 3 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -33,18 +33,12 @@ This guide assumes you are familiar with the following AWS concepts:
33
33
34
34
### Determining the instance type
35
35
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)."
45
37
46
38
{% data reusables.enterprise_installation.warning-on-scaling %}
47
39
40
+
{% data reusables.enterprise_installation.aws-instance-recommendation %}
41
+
48
42
### Selecting the {% data variables.product.prodname_ghe_server %} AMI
49
43
50
44
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.
Copy file name to clipboardExpand all lines: content/admin/installation/installing-github-enterprise-server-on-azure.md
+5-16Lines changed: 5 additions & 16 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -24,26 +24,15 @@ You can deploy {% data variables.product.prodname_ghe_server %} on global Azure
24
24
25
25
### Determining the virtual machine type
26
26
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)."
28
28
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 %}
36
30
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.
38
32
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.
45
34
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/)."
47
36
48
37
### Creating the {% data variables.product.prodname_ghe_server %} virtual machine
Copy file name to clipboardExpand all lines: content/admin/installation/installing-github-enterprise-server-on-google-cloud-platform.md
+3-26Lines changed: 3 additions & 26 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -22,35 +22,12 @@ topics:
22
22
23
23
### Determining the machine type
24
24
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)."
51
26
52
27
{% data reusables.enterprise_installation.warning-on-scaling %}
53
28
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
+
54
31
### Selecting the {% data variables.product.prodname_ghe_server %} image
55
32
56
33
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:
Copy file name to clipboardExpand all lines: content/code-security/getting-started/about-securing-your-repository.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -69,7 +69,7 @@ These features are available {% if currentVersion == "free-pro-team@latest" %}fo
69
69
{% endif %}
70
70
71
71
{% 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)."
Copy file name to clipboardExpand all lines: content/code-security/supply-chain-security/about-alerts-for-vulnerable-dependencies.md
+1-2Lines changed: 1 addition & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -24,8 +24,7 @@ When your code depends on a package that has a security vulnerability, this vuln
24
24
{% 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:
25
25
26
26
{% 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 %}
29
28
- 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 "<ahref="/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 %}
30
29
- 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)."
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