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: articles/defender-for-cloud/tutorial-enable-pull-request-annotations.md
+4-6Lines changed: 4 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -51,15 +51,15 @@ By enabling pull request annotations in GitHub, your developers gain the ability
51
51
52
52
1. Navigate to **`Your repository's home page`** > **.github/workflows**.
53
53
54
-
:::image type="content" source="media/tutorial-enable-pr-annotations/workflow-folder.png" alt-text="Screenshot that shows where to navigate to, to select the GitHub workflow folder.":::
54
+
:::image type="content" source="media/tutorial-enable-pr-annotations/workflow-folder.png" alt-text="Screenshot that shows where to navigate to, to select the GitHub workflow folder." lightbox="media/tutorial-enable-pr-annotations/workflow-folder.png":::
55
55
56
56
1. Select **msdevopssec.yml**, which was created in the [prerequisites](#prerequisites).
57
57
58
-
:::image type="content" source="media/tutorial-enable-pr-annotations/devopssec.png" alt-text="Screenshot that shows you where on the screen to select the msdevopssec.yml file.":::
58
+
:::image type="content" source="media/tutorial-enable-pr-annotations/devopssec.png" alt-text="Screenshot that shows you where on the screen to select the msdevopssec.yml file." lightbox="media/tutorial-enable-pr-annotations/devopssec.png":::
59
59
60
60
1. Select **edit**.
61
61
62
-
:::image type="content" source="media/tutorial-enable-pr-annotations/edit-button.png" alt-text="Screenshot that shows you what the edit button looks like.":::
62
+
:::image type="content" source="media/tutorial-enable-pr-annotations/edit-button.png" alt-text="Screenshot that shows you what the edit button looks like." lightbox="media/tutorial-enable-pr-annotations/edit-button.png":::
63
63
64
64
1. Locate and update the trigger section to include:
65
65
@@ -69,8 +69,6 @@ By enabling pull request annotations in GitHub, your developers gain the ability
69
69
branches: ["main"]
70
70
```
71
71
72
-
:::image type="content" source="media/tutorial-enable-pr-annotations/trigger-section.png" alt-text="Screenshot of how the code will look when added.":::
73
-
74
72
You can also view a [sample repository](https://github.com/microsoft/security-devops-action/tree/main/samples).
75
73
76
74
(Optional) You can select which branches you want to run it on by entering the branch(es) under the trigger section. If you want to include all branches remove the lines with the branch list.
@@ -117,7 +115,7 @@ Before you can enable pull request annotations, your main branch must have enabl
117
115
118
116
1. Navigate to **Branch Policies** > **Main branch**.
119
117
120
-
:::image type="content" source="media/tutorial-enable-pr-annotations/branch-policies.png" alt-text="Screenshot that shows where to locate the branch policies.":::
118
+
:::image type="content" source="media/tutorial-enable-pr-annotations/branch-policies.png" alt-text="Screenshot that shows where to locate the branch policies." lightbox="media/tutorial-enable-pr-annotations/branch-policies.png":::
0 commit comments