Skip to content

Commit 86c5c84

Browse files
authored
Merge pull request #16022 from github/repo-sync
repo sync
2 parents 2be6d3e + 693fb35 commit 86c5c84

File tree

56 files changed

+460
-145
lines changed

Some content is hidden

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

56 files changed

+460
-145
lines changed
Loading

content/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/filtering-files-in-a-pull-request.md

Lines changed: 24 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: Filtering files in a pull request
3-
intro: 'To help you quickly review changes in a large pull request, you can filter changed files.'
3+
intro: 'To help you quickly review changes in a large pull request, you can filter changed files{% if pr-tree-view %} or use the file tree to navigate between files{% endif %}.'
44
redirect_from:
55
- /github/collaborating-with-issues-and-pull-requests/reviewing-changes-in-pull-requests/filtering-files-in-a-pull-request
66
- /articles/filtering-files-in-a-pull-request-by-file-type
@@ -16,7 +16,9 @@ topics:
1616
- Pull requests
1717
shortTitle: Filter files
1818
---
19-
You can filter files in a pull request by file extension type, such as `.html` or `.js`, lack of an extension, code ownership, or dotfiles.
19+
You can filter files in a pull request by file extension type, such as `.html` or `.js`, lack of an extension, code ownership, or dotfiles.{% if pr-tree-view %} You can also use the file tree to filter by file path, navigate between files, or see a high level view of the changed files.{% endif %}
20+
21+
## Using the file filter dropdown
2022

2123
{% tip %}
2224

@@ -32,6 +34,26 @@ You can filter files in a pull request by file extension type, such as `.html` o
3234
5. Optionally, to clear the filter selection, under the **Files changed** tab, click **Clear**.
3335
![Clear file filter selection](/assets/images/help/pull_requests/clear-file-filter.png)
3436

37+
{% if pr-tree-view %}
38+
## Using the file tree
39+
40+
{% data reusables.repositories.sidebar-pr %}
41+
1. In the list of pull requests, click the pull request you'd like to filter.
42+
{% data reusables.repositories.changed-files %}
43+
1. If the file tree is hidden, click **Show file tree** to display the file tree.
44+
45+
{% note %}
46+
47+
**Note**: The file tree will not display if your screen width is too narrow or if the pull request only includes one file.
48+
49+
{% endnote %}
50+
51+
1. Click on a file in the file tree to view the corresponding file diff.
52+
![Pull request file tree](/assets/images/help/pull_requests/pr-file-tree.png)
53+
1. To filter by file path, enter part or all of the file path in the **Filter changed files** search box. Alternatively, use the file filter dropdown. For more information, see "[Using the file filter dropdown](#using-the-file-filter-dropdown)."
54+
55+
{% endif %}
56+
3557
## Further reading
3658

3759
- "[About comparing branches in a pull request](/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-comparing-branches-in-pull-requests)"

content/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/reviewing-proposed-changes-in-a-pull-request.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ You can review changes in a pull request one file at a time. While reviewing the
3636

3737
You can also choose to hide whitespace differences. The choice you make only applies to this pull request and will be remembered the next time you visit this page.
3838
{% endif %}
39+
1. Optionally, filter the files to show only the files you want to review{% if pr-tree-view %} or use the file tree to navigate to a specific file{% endif %}. For more information, see "[Filtering files in a pull request](/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/filtering-files-in-a-pull-request)."
3940
{% data reusables.repositories.start-line-comment %}
4041
{% data reusables.repositories.type-line-comment %}
4142
{% data reusables.repositories.suggest-changes %}

content/rest/overview/endpoints-available-for-github-apps.md

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -14,19 +14,4 @@ topics:
1414
shortTitle: GitHub App-enabled endpoints
1515
---
1616

17-
You must use an installation access token to access endpoints using your {% data variables.product.prodname_github_app %}. For more information, see "[Authenticating with {% data variables.product.prodname_github_apps %}](/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-an-installation)."
18-
19-
{% for thing in rest.operationsEnabledForGitHubApps[currentVersion] %}
20-
{% assign category = thing[0] %}
21-
{% assign operations = thing[1] %}
22-
{% if operations.size > 0 %}
23-
<h3 id="{{category}}">
24-
<a href="#{{category}}">{{ category }}</a>
25-
</h3>
26-
<ul>
27-
{% for operation in operations %}
28-
<li><a href="/{{currentLanguage}}/rest/reference/{{operation.category}}#{{operation.slug}}"><code><span style="text-transform: uppercase">{{operation.verb}}</span> {{operation.requestPath}}</code></a></li>
29-
{% endfor %}
30-
</ul>
31-
{% endif %}
32-
{% endfor %}
17+
**The content of this page is rendered as a NextJS page component.**

data/features/pr-tree-view.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# Issue 5892
2+
# PR file tree view
3+
versions:
4+
fpt: '*'
5+
ghec: '*'
6+
ghes: '>=3.5'
7+
ghae: 'issue-5892'
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
date: '2022-03-01'
2+
sections:
3+
bugs:
4+
- Upgrades could sometimes fail if a high-availability replica's clock was out of sync with the primary.
5+
- OAuth Applications created after September 1st, 2020 were not able to use the [Check an Authorization](https://docs.github.com/en/[email protected]/rest/reference/apps#check-an-authorization) API endpoint.
6+
known_issues:
7+
- The {% data variables.product.prodname_registry %} npm registry no longer returns a time value in metadata responses. This was done to allow for substantial performance improvements. We continue to have all the data necessary to return a time value as part of the metadata response and will resume returning this value in the future once we have solved the existing performance issues.
8+
- On a freshly set up {% data variables.product.prodname_ghe_server %} instance without any users, an attacker could create the first admin user.
9+
- Custom firewall rules are removed during the upgrade process.
10+
- Git LFS tracked files [uploaded through the web interface](https://github.com/blog/2105-upload-files-to-your-repositories) are incorrectly added directly to the repository.
11+
- Issues cannot be closed if they contain a permalink to a blob in the same repository, where the blob's file path is longer than 255 characters.
12+
- When "Users can search GitHub.com" is enabled with GitHub Connect, issues in private and internal repositories are not included in GitHub.com search results.
13+
- If {% data variables.product.prodname_actions %} is enabled for {% data variables.product.prodname_ghe_server %}, teardown of a replica node with `ghe-repl-teardown` will succeed, but may return `ERROR:Running migrations`.
14+
- Resource limits that are specific to processing pre-receive hooks may cause some pre-receive hooks to fail.
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
date: '2022-03-01'
2+
sections:
3+
bugs:
4+
- Upgrades could sometimes fail if a high-availability replica's clock was out of sync with the primary.
5+
- OAuth Applications created after September 1st, 2020 were not able to use the [Check an Authorization](https://docs.github.com/en/[email protected]/rest/reference/apps#check-an-authorization) API endpoint.
6+
known_issues:
7+
- On a freshly set up {% data variables.product.prodname_ghe_server %} instance without any users, an attacker could create the first admin user.
8+
- Custom firewall rules are removed during the upgrade process.
9+
- Git LFS tracked files [uploaded through the web interface](https://github.com/blog/2105-upload-files-to-your-repositories) are incorrectly added directly to the repository.
10+
- Issues cannot be closed if they contain a permalink to a blob in the same repository, where the blob's file path is longer than 255 characters.
11+
- When "Users can search GitHub.com" is enabled with GitHub Connect, issues in private and internal repositories are not included in GitHub.com search results.
12+
- The {% data variables.product.prodname_registry %} npm registry no longer returns a time value in metadata responses. This was done to allow for substantial performance improvements. We continue to have all the data necessary to return a time value as part of the metadata response and will resume returning this value in the future once we have solved the existing performance issues.
13+
- Resource limits that are specific to processing pre-receive hooks may cause some pre-receive hooks to fail.
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
date: '2022-03-01'
2+
sections:
3+
bugs:
4+
- Upgrades could sometimes fail if a high-availability replica's clock was out of sync with the primary.
5+
- OAuth Applications created after September 1st, 2020 were not able to use the [Check an Authorization](https://docs.github.com/en/[email protected]/rest/reference/apps#check-an-authorization) API endpoint.
6+
known_issues:
7+
- The {% data variables.product.prodname_registry %} npm registry no longer returns a time value in metadata responses. This was done to allow for substantial performance improvements. We continue to have all the data necessary to return a time value as part of the metadata response and will resume returning this value in the future once we have solved the existing performance issues.
8+
- On a freshly set up {% data variables.product.prodname_ghe_server %} instance without any users, an attacker could create the first admin user.
9+
- Custom firewall rules are removed during the upgrade process.
10+
- Git LFS tracked files [uploaded through the web interface](https://github.com/blog/2105-upload-files-to-your-repositories) are incorrectly added directly to the repository.
11+
- Issues cannot be closed if they contain a permalink to a blob in the same repository, where the blob's file path is longer than 255 characters.
12+
- When "Users can search GitHub.com" is enabled with GitHub Connect, issues in private and internal repositories are not included in GitHub.com search results.
13+
- If {% data variables.product.prodname_actions %} is enabled for {% data variables.product.prodname_ghe_server %}, teardown of a replica node with `ghe-repl-teardown` will succeed, but may return `ERROR:Running migrations`.
14+
- Resource limits that are specific to processing pre-receive hooks may cause some pre-receive hooks to fail.
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
date: '2022-03-01'
2+
sections:
3+
bugs:
4+
- Upgrades could sometimes fail if a high-availability replica's clock was out of sync with the primary.
5+
- OAuth Applications created after September 1st, 2020 were not able to use the [Check an Authorization](https://docs.github.com/en/[email protected]/rest/reference/apps#check-an-authorization) API endpoint.
6+
known_issues:
7+
- After upgrading to {% data variables.product.prodname_ghe_server %} 3.3, {% data variables.product.prodname_actions %} may fail to start automatically. To resolve this issue, connect to the appliance via SSH and run the `ghe-actions-start` command.
8+
- On a freshly set up {% data variables.product.prodname_ghe_server %} instance without any users, an attacker could create the first admin user.
9+
- Custom firewall rules are removed during the upgrade process.
10+
- Git LFS tracked files [uploaded through the web interface](https://github.com/blog/2105-upload-files-to-your-repositories) are incorrectly added directly to the repository.
11+
- Issues cannot be closed if they contain a permalink to a blob in the same repository, where the blob's file path is longer than 255 characters.
12+
- When "Users can search GitHub.com" is enabled with GitHub Connect, issues in private and internal repositories are not included in GitHub.com search results.
13+
- The {% data variables.product.prodname_registry %} npm registry no longer returns a time value in metadata responses. This was done to allow for substantial performance improvements. We continue to have all the data necessary to return a time value as part of the metadata response and will resume returning this value in the future once we have solved the existing performance issues.
14+
- Resource limits that are specific to processing pre-receive hooks may cause some pre-receive hooks to fail.
15+
- '{% data variables.product.prodname_actions %} storage settings cannot be validated and saved in the {% data variables.enterprise.management_console %} when "Force Path Style" is selected, and must instead be configured with the `ghe-actions-precheck` command line utility.'

data/reusables/dependabot/beta-security-and-version-updates-onboarding.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
{% note %}
44

5-
**Note:** Dependabot security updates and version updates are currently available for {% data variables.product.prodname_ghe_cloud %} and in beta for {% data variables.product.prodname_ghe_server %} 3.3. To request access to the beta release, [contact your account management team](https://enterprise.github.com/contact).
5+
**Note:** Dependabot security updates and version updates are currently available for {% data variables.product.prodname_ghe_cloud %} and in beta for {% data variables.product.prodname_ghe_server %} 3.3. Please [contact your account management team](https://enterprise.github.com/contact) for instructions on enabling Dependabot updates.
66

77
{% endnote %}
88

0 commit comments

Comments
 (0)