File tree Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ This tutorial with use CodeQL Analysis with Code Scanning in order to search for
18
18
19
19
Begin by [ forking this repo] ( https://docs.github.com/en/free-pro-team@latest/github/getting-started-with-github/fork-a-repo ) .
20
20
21
- Make sure you uncheck "Copy the main branch only"
21
+ NOTE: Make sure you uncheck "Copy the ` main ` branch only"
22
22
23
23
<img src =" images/17-fork-repo.png " width =" 70% " />
24
24
@@ -215,7 +215,12 @@ A branch called `new-feature` introduces a new feature but also security vulnera
215
215
216
216
1 . Go to the Pull Request tab
217
217
2 . Select "New Pull Request"
218
- 3 . Create the PR with ` base: main ` and ` compare: new-feature `
218
+ 3 . Create the PR with
219
+ - ` base repository: <YOUR FORK> `
220
+ - ` head repository: <YOUR FORK> `
221
+ - ` base: main `
222
+ - ` compare: new-feature `
223
+ 4 . _ If you don't see the ` new-feature ` branch, change the ` head repository: octodemo/advanced-security-python ` _
219
224
220
225
<img src =" images/18-create-vulnerable-pr.png " width =" 80% " />
221
226
@@ -233,7 +238,7 @@ Notice that Code Scanning has detected that this Pull Request will introduce 2 m
233
238
234
239
<img src =" images/19-vulnerabiltliy-detail.png " width =" 80% " />
235
240
236
- ### 'Files Changed' tab
241
+ #### 'Files Changed' tab
237
242
238
243
Click on the "Files Changed" tab of the PR. Scroll down and notice the Advanced Security annotations for new vulnerabilities.
239
244
You can’t perform that action at this time.
0 commit comments