Skip to content

Commit 2fd7b19

Browse files
authored
Merge pull request githubtraining#2 from githubtraining/add-readme-instructions
Add readme instructions
2 parents 47ff652 + bd97435 commit 2fd7b19

File tree

2 files changed

+18
-19
lines changed

2 files changed

+18
-19
lines changed

.github/workflows/grading.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,4 @@ jobs:
2626
runs-on: ubuntu-latest
2727
steps:
2828
- 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

README.md

+17-18
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# Welcome to the exercise-enable-code-scanning-using-codeql exercise!
1+
# Welcome to the Enable code scanning using CodeQL exercise!
22

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.
44

55
## About this exercise
66

@@ -10,7 +10,7 @@ A grading script exists under `.github/workflows/grading.yml`. You do not need t
1010

1111
<!-- REQUIRED for all exercises -->
1212
<details><summary>:information_source: About the use of GitHub Actions in this exercise</summary>
13-
13+
1414
> 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.
1515
</details>
1616
@@ -31,32 +31,31 @@ A grading script exists under `.github/workflows/grading.yml`. You do not need t
3131

3232
## Instructions
3333

34-
<!-- Specific instructions for your exercise -->
35-
3634
Please complete the instructions below:
3735

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**.
4137

42-
**Add the GitHub starter workflow for CodeQL Analysis**
38+
2. Set up the **CodeQL Analysis** workflow on the repository.
4339

4440
## Useful resources
4541

4642
Use these resources specific to this exercise to help you!
4743

48-
<!-- - Add further resources for the learner in list form:
49-
- [Title](link)
50-
-->
44+
Resources specific to this exercise:
5145

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)
5347

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:
5549

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)
54+
- [GitHub Actions](https://docs.github.com/en/actions)
55+
56+
## Seeing your result
57+
58+
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.
6059

6160
See [Viewing workflow run history](https://docs.github.com/en/actions/monitoring-and-troubleshooting-workflows/viewing-workflow-run-history) if you need assistance.
6261

0 commit comments

Comments
 (0)