diff --git a/.github/steps/1-enable-codeql.md b/.github/steps/1-enable-codeql.md index 216aa68..c25da0b 100644 --- a/.github/steps/1-enable-codeql.md +++ b/.github/steps/1-enable-codeql.md @@ -25,7 +25,7 @@ First, we will enable code scanning with CodeQL in our repository. 1. Open a new browser tab, and work on the steps in your second tab while you read the instructions in this tab. 2. Navigate to the **Settings** tab at the top of your newly created repository. -3. Under the **Security** section on the left side, select **Code security and analysis**. +3. Under the **Security** section on the left side, select **Code security**. 4. Scroll down to the section titled **Code scanning**. For the purpose of this course, we will focus on CodeQL analysis. 5. Click on the **Set up** dropdown menu and choose **Default**. ![enable-code-scanning-default.png](/images/enable-code-scanning-default.png) @@ -37,6 +37,5 @@ Let's take a look at the configuration options in the modal: - **Events:** This section tells CodeQL when to scan. In this case, it's set to scan on any pull request to the `main` branch. ![codeql-default-configuration-box.png](/images/codeql-default-configuration-box.png) - 6. Click **Enable CodeQL** 7. Wait about 20 seconds then refresh this page (the one you're following instructions from). [GitHub Actions](https://docs.github.com/en/actions) will automatically update to the next step.