Skip to content

Commit d81f607

Browse files
authored
Mention reviewing the source diff (#17141)
1 parent 2e1d48d commit d81f607

3 files changed

Lines changed: 10 additions & 5 deletions

File tree

content/github/collaborating-with-issues-and-pull-requests/reviewing-dependency-changes-in-a-pull-request.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ Dependency review supports the same languages and package management ecosystems
3636

3737
![The file filter menu](/assets/images/help/pull_requests/file-filter-menu-json.png)
3838

39-
1. On the right of the header for a manifest or lock file, display the dependency review by clicking the rich diff button.
39+
1. On the right of the header for a manifest or lock file, display the dependency review by clicking the **{% octicon "file" aria-label="The rich diff icon" %}** rich diff button.
4040

4141
![The rich diff button](/assets/images/help/pull_requests/dependency-review-rich-diff.png)
4242

@@ -69,6 +69,4 @@ Dependency review supports the same languages and package management ecosystems
6969
* The severity of the vulnerability.
7070
* The version of the dependency in which the vulnerability was fixed. If you are reviewing a pull request for someone, you might ask the contributor to update the dependency to the patched version, or a later release.
7171

72-
1. You can return to the original view of the file by clicking the source diff button.
73-
74-
![The source diff button](/assets/images/help/pull_requests/dependency-review-source-diff.png)
72+
{% data reusables.repositories.return-to-source-diff %}

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,11 @@ If the pull request contains changes to dependencies you can use the dependency
3737

3838
{% data reusables.repositories.changed-files %}
3939

40-
1. On the right of the header for a manifest or lock file, display the dependency review by clicking the rich diff button.
40+
1. On the right of the header for a manifest or lock file, display the dependency review by clicking the **{% octicon "file" aria-label="The rich diff icon" %}** rich diff button.
4141

4242
![The rich diff button](/assets/images/help/pull_requests/dependency-review-rich-diff.png)
43+
44+
{% data reusables.repositories.return-to-source-diff %}
4345
{% endif %}
4446

4547
### Marking a file as viewed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
1. You may also want to review the source diff, because there could be changes to the manifest or lock file that don't change dependencies, or there could be dependencies that {% data variables.product.prodname_dotcom %} can't parse and which, as a result, don't appear in the dependency review.
2+
3+
To return to the source diff view, click the **{% octicon "code" aria-label="The source diff icon" %}** button.
4+
5+
![The source diff button](/assets/images/help/pull_requests/dependency-review-source-diff.png)

0 commit comments

Comments
 (0)