Skip to content

Commit 90ced5f

Browse files
authored
Merge branch 'main' into feat/add-contributor-frontmatter
2 parents 5ca3c87 + 3e2770f commit 90ced5f

41 files changed

Lines changed: 100 additions & 83 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/remove-from-fr-board.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Remove card from FR board
22

33
on:
44
repository_dispatch:
5-
types: remove_from_FR_board
5+
types: remove_from_docs_FR_board
66

77
jobs:
88
remove_from_FR_board:

content/github/managing-security-vulnerabilities/about-alerts-for-vulnerable-dependencies.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,7 @@ When your code depends on a package that has a security vulnerability, this vuln
2020
{% 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:
2121

2222
{% if currentVersion == "free-pro-team@latest" %}
23-
- 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)."
24-
- New vulnerability data from [WhiteSource](https://www.whitesourcesoftware.com/vulnerability-database) is processed.{% else %}
23+
- 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 %}
2524
- 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 %}
2625
- 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)."
2726

content/github/visualizing-repository-data-with-graphs/about-the-dependency-graph.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,9 @@ When the dependency graph is first enabled, any manifest and lock files for supp
6464

6565
The recommended formats explicitly define which versions are used for all direct and all indirect dependencies. If you use these formats, your dependency graph is more accurate. It also reflects the current build set up and enables the dependency graph to report vulnerabilities in both direct and indirect dependencies.{% if currentVersion == "free-pro-team@latest" %} Indirect dependencies that are inferred from a manifest file (or equivalent) are excluded from the checks for vulnerable dependencies.{% endif %}
6666

67+
{% if currentVersion == "free-pro-team@latest" %}The ecosystems listed below are supported for the dependency graph, {% data variables.product.prodname_dependabot_alerts %}, and {% data variables.product.prodname_dependabot_security_updates %}.{% endif %}
68+
{% if currentVersion ver_gt "enterprise-server@2.21" %}The ecosystems listed below are supported for the dependency graph and {% data variables.product.prodname_dependabot_alerts %}.{% endif %}
69+
6770
| Package manager | Languages | Recommended formats | All supported formats |
6871
| --- | --- | --- | ---|
6972
| Composer | PHP | `composer.lock` | `composer.json`, `composer.lock` |

data/release-notes/3-0/0.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,7 @@ sections:
123123
- When GitHub Actions is enabled, use '`ghe-maintenance -u`' to unset maintenance mode.
124124
- 'Duplicated logging to `/var/log/messages`, `/var/log/syslog`, and `/var/log/user.log` results in increased root volume utilization.'
125125
- Users can dismiss a mandatory message without checking all checkboxes.
126+
- '[Pre-receive hook scripts](/admin/policies/enforcing-policy-with-pre-receive-hooks) cannot write temporary files, which may cause script execution to fail. Users who use pre-receive hooks should test in a staging environment to see if scripts require write access.'
126127
- Repository [deploy keys](/developers/overview/managing-deploy-keys) are unable to be used with repositories containing LFS objects.
127128
- Juypter Notebook rendering in the web UI may fail if the notebook includes non UTF-8 encoded characters.
128129
- Dependency graph fails to parse `setup.py` Python manifest files, resulting in HTTP 500 errors in logs. This, combined with the duplicated logging issue, results in increased root volume utilization.

data/release-notes/3-0/1.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ sections:
3636
- 'When maintenance mode is enabled, some services continue to be listed as "active processes". The services identified are expected to run during maintenance mode. If you experience this issue and are unsure, contact [GitHub Enterprise Support](https://enterprise.githubsupport.com/hc/en-us) or [GitHub Premium Support](https://premium.githubsupport.com/).'
3737
- 'Duplicated logging to `/var/log/messages`, `/var/log/syslog`, and `/var/log/user.log` results in increased root volume utilization.'
3838
- 'Users can dismiss a mandatory message without checking all checkboxes.'
39+
- '[Pre-receive hook scripts](/admin/policies/enforcing-policy-with-pre-receive-hooks) cannot write temporary files, which may cause script execution to fail. Users who use pre-receive hooks should test in a staging environment to see if scripts require write access.'
3940
- 'Repository [deploy keys](/developers/overview/managing-deploy-keys) are unable to be used with repositories containing LFS objects.'
4041
- 'Juypter Notebook rendering in the web UI may fail if the notebook includes non UTF-8 encoded characters.'
4142
- 'Dependency graph fails to parse `yarn.lock` Javascript manifest files, resulting in HTTP 500 errors in logs.'

middleware/abort.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
module.exports = function (req, res, next) {
1+
module.exports = function abort (req, res, next) {
22
// If the client aborts the connection, send an error
33
req.once('aborted', () => {
44
// NOTE: Node.js will also automatically set `req.aborted = true`

middleware/archived-enterprise-versions-assets.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ const ONE_DAY = 24 * 60 * 60 // 1 day in seconds
1111
//
1212
// See also ./archived-enterprise-versions.js for non-CSS/JS paths
1313

14-
module.exports = async (req, res, next) => {
14+
module.exports = async function archivedEnterpriseVersionsAssets (req, res, next) {
1515
const { isArchived, requestedVersion } = isArchivedVersion(req)
1616
if (!isArchived) return next()
1717

middleware/archived-enterprise-versions.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ const archivedFrontmatterFallbacks = require('../lib/redirects/static/archived-f
1111
// This module handles requests for deprecated GitHub Enterprise versions
1212
// by routing them to static content in help-docs-archived-enterprise-versions
1313

14-
module.exports = async (req, res, next) => {
14+
module.exports = async function archivedEnterpriseVersions (req, res, next) {
1515
const { isArchived, requestedVersion } = isArchivedVersion(req)
1616
if (!isArchived) return next()
1717

middleware/block-robots.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ function blockIndex (path) {
3030
return pathRegExps.some(pathRe => pathRe.test(path))
3131
}
3232

33-
const middleware = (req, res, next) => {
33+
const middleware = function blockRobots (req, res, next) {
3434
if (blockIndex(req.path)) res.set('x-robots-tag', 'noindex')
3535
return next()
3636
}

middleware/breadcrumbs.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ const { getPathWithoutLanguage } = require('../lib/path-utils')
33
const nonEnterpriseDefaultVersion = require('../lib/non-enterprise-default-version')
44
const removeFPTFromPath = require('../lib/remove-fpt-from-path')
55

6-
module.exports = async (req, res, next) => {
6+
module.exports = async function breadcrumbs (req, res, next) {
77
if (!req.context.page) return next()
88
if (req.context.page.hidden) return next()
99

0 commit comments

Comments
 (0)