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: .github/workflows/grading.yml
+1-1
Original file line number
Diff line number
Diff line change
@@ -26,4 +26,4 @@ jobs:
26
26
runs-on: ubuntu-latest
27
27
steps:
28
28
- name: troubleshooting steps
29
-
run: echo "" #Help the user to troubleshoot the activity
29
+
run: echo "See the following doc for help with enabling code scanning with CodeQL on a GitHub repository: https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/setting-up-code-scanning-for-a-repository" #Help the user to troubleshoot the activity
Copy file name to clipboardExpand all lines: README.md
+17-18
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
-
# Welcome to the exercise-enable-code-scanning-using-codeql exercise!
1
+
# Welcome to the Enable codescanningusing CodeQL exercise!
2
2
3
-
This exercise checks FILL THIS IN. It is automatically graded via a workflow once you have completed the instructions.
3
+
This exercise checks your knowledge on enabling code scanning with CodeQL on a GitHub repository. It is automatically graded via a workflow once you have completed the instructions.
4
4
5
5
## About this exercise
6
6
@@ -10,7 +10,7 @@ A grading script exists under `.github/workflows/grading.yml`. You do not need t
10
10
11
11
<!-- REQUIRED for all exercises -->
12
12
<details><summary>:information_source: About the use of GitHub Actions in this exercise</summary>
13
-
13
+
14
14
> This exercise utilizes [GitHub Actions](https://docs.github.com/en/actions), which is free for public repositories and self-hosted runners, but may incur charges on private repositories. See [About billing for GitHub Actions](https://docs.github.com/en/billing/managing-billing-for-github-actions/about-billing-for-github-actions) to learn more. The use of GitHub Actions also means that it may take the grading workflow a few seconds and sometimes minutes to run.
15
15
</details>
16
16
@@ -31,32 +31,31 @@ A grading script exists under `.github/workflows/grading.yml`. You do not need t
31
31
32
32
## Instructions
33
33
34
-
<!-- Specific instructions for your exercise -->
35
-
36
34
Please complete the instructions below:
37
35
38
-
1. Create your own copy of this repository by using the [Use this template](https://docs.github.com/en/github/creating-cloning-and-archiving-repositories/creating-a-repository-from-a-template#creating-a-repository-from-a-template) button.
39
-
40
-
<!-- Add your steps below starting with step 2 -->
36
+
1. Create your own copy of this repository by using the [Use this template](https://docs.github.com/en/github/creating-cloning-and-archiving-repositories/creating-a-repository-from-a-template#creating-a-repository-from-a-template) button. Make sure your copy is **a public repository**.
41
37
42
-
**Add the GitHub starter workflow for CodeQL Analysis**
38
+
2. Set up the **CodeQL Analysis** workflow on the repository.
43
39
44
40
## Useful resources
45
41
46
42
Use these resources specific to this exercise to help you!
47
43
48
-
<!-- - Add further resources for the learner in list form:
49
-
- [Title](link)
50
-
-->
44
+
Resources specific to this exercise:
51
45
52
-
## Seeing your result
46
+
-[Setting up code scanning for a repository](https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/setting-up-code-scanning-for-a-repository)
53
47
54
-
Your exercise is graded automatically once you have completed the instructions. To see the result of your exercise, go to the **Actions** tab, and see the most recent run on the **Grading** workflow. <!-- specify expected Looking Glass display_type --><!-- specific place to look -->
48
+
Resources for working with exercises and GitHub Actions in general:
55
49
56
-
<!-- Display types:
57
-
- actions
58
-
- issues
59
-
-->
50
+
-[Creating a repository from a template](https://docs.github.com/en/github/creating-cloning-and-archiving-repositories/creating-a-repository-from-a-template)
51
+
-[Viewing workflow run history](https://docs.github.com/en/actions/managing-workflow-runs/viewing-workflow-run-history)
52
+
-[Running a workflow on GitHub](https://docs.github.com/en/actions/managing-workflow-runs/manually-running-a-workflow#running-a-workflow-on-github)
53
+
-[About billing for GitHub Actions](https://docs.github.com/en/github/setting-up-and-managing-billing-and-payments-on-github/about-billing-for-github-actions)
Your exercise is graded automatically once you have completed the instructions. To see the result of your exercise, go to the **Actions** tab, and see the most recent run on the **Grading** workflow.
60
59
61
60
See [Viewing workflow run history](https://docs.github.com/en/actions/monitoring-and-troubleshooting-workflows/viewing-workflow-run-history) if you need assistance.
0 commit comments