Skip to content
This repository was archived by the owner on Sep 1, 2022. It is now read-only.

Commit dceab06

Browse files
committed
Flesh out READMEs
1 parent c66d71a commit dceab06

File tree

2 files changed

+46
-3
lines changed

2 files changed

+46
-3
lines changed

README.md

Lines changed: 40 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,51 @@ including links to the lines of source code on GitHub when possible:
2121

2222
![](docs/comment_screenshot.png)
2323

24-
## Usage
24+
## Creating your own course
25+
26+
There are two main components to any Learning Lab course for CodeQL that uses
27+
the components in this repository:
28+
29+
* **Query Checking Action:**
30+
31+
Each course has its own GitHub Action that is designed to be used in workflows
32+
that run when a course participant pushes new commits to their repo.
33+
The action will check which queries have changed in the push,
34+
and run the queries that it recognizes as part of the course
35+
(based on the filename).
36+
37+
After running the queries,
38+
the action will check the results against a CSV file of expected results.
39+
It will then post a comment on the commit,
40+
detailing whether each query produced the correct results or not.
41+
And if not,
42+
it will include details of which results are missing,
43+
and which results are unexpected.
44+
45+
These actions are bundled using Docker,
46+
and made available using
47+
[GitHub Packages](https://github.com/features/packages).
48+
49+
* **Learning Lab Course:**
50+
51+
This is the course itself.
52+
It creates the initial repository the participant will use for their course,
53+
posts instructions as GitHub issues,
54+
and listens for comments posted by the GitHub action to know when the user
55+
has completed the current task correctly,
56+
and is ready to advance to the next one.
57+
58+
### Creating a GitHub Action
59+
60+
TODO
61+
62+
### Contributing your GitHub Action to this repository
2563

2664
TODO
2765

2866
## Example Courses
2967

30-
There are currently no published courses that use this repository,
31-
when this changes, we'll add a list here.
68+
* [GitHub Security Lab CTF 1: SEGV hunt](courses/cpp/ctf-segv)
3269

3370
Feel free to add your own courses to this list!
3471
See [CONTRIBUTING.md](CONTRIBUTING.md).

courses/cpp/ctf-segv/README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# GitHub Security Lab CTF 1: SEGV hunt
2+
3+
This Learning Lab course is still in development,
4+
in the meantime,
5+
you can take this course by reading the original instructions:
6+
https://securitylab.github.com/ctf/segv

0 commit comments

Comments
 (0)