From 9008d094cdfceb58489ad023c087a6674537c8bb Mon Sep 17 00:00:00 2001 From: "github-classroom[bot]" <66690702+github-classroom[bot]@users.noreply.github.com> Date: Thu, 26 Sep 2024 05:18:34 +0000 Subject: [PATCH 01/15] GitHub Classroom Autograding Workflow --- .github/workflows/classroom.yml | 75 +++++++++++++++++++++++++++++++++ 1 file changed, 75 insertions(+) create mode 100644 .github/workflows/classroom.yml diff --git a/.github/workflows/classroom.yml b/.github/workflows/classroom.yml new file mode 100644 index 000000000..6e5e66840 --- /dev/null +++ b/.github/workflows/classroom.yml @@ -0,0 +1,75 @@ +name: Autograding Tests +'on': +- workflow_dispatch +- repository_dispatch +permissions: + checks: write + actions: read + contents: read +jobs: + run-autograding-tests: + runs-on: ubuntu-latest + if: github.actor != 'github-classroom[bot]' + steps: + - name: Checkout code + uses: actions/checkout@v4 + - name: Step 1 Add Headers + id: step-1-add-headers + uses: classroom-resources/autograding-command-grader@v1 + with: + test-name: Step 1 Add Headers + setup-command: sleep 20 + command: "[ $(cat .github/script/STEP) -ge 1 ] || [ $(cat .github/script/STEP) + = X ]" + timeout: 10 + max-score: 1 + - name: Step 2 Add an image + id: step-2-add-an-image + uses: classroom-resources/autograding-command-grader@v1 + with: + test-name: Step 2 Add an image + setup-command: sleep 20 + command: "[ $(cat .github/script/STEP) -ge 2 ] || [ $(cat .github/script/STEP) + = X ]" + timeout: 10 + max-score: 1 + - name: Step 3 Add a code example + id: step-3-add-a-code-example + uses: classroom-resources/autograding-command-grader@v1 + with: + test-name: Step 3 Add a code example + setup-command: sleep 20 + command: "[ $(cat .github/script/STEP) -ge 3 ] || [ $(cat .github/script/STEP) + = X ]" + timeout: 10 + max-score: 1 + - name: Step 4 Make a task list + id: step-4-make-a-task-list + uses: classroom-resources/autograding-command-grader@v1 + with: + test-name: Step 4 Make a task list + setup-command: sleep 20 + command: "[ $(cat .github/script/STEP) -ge 4 ] || [ $(cat .github/script/STEP) + = X ]" + timeout: 10 + max-score: 1 + - name: Step 5 Merge your pull request + id: step-5-merge-your-pull-request + uses: classroom-resources/autograding-command-grader@v1 + with: + test-name: Step 5 Merge your pull request + setup-command: sleep 20 + command: "[ $(cat .github/script/STEP) -ge 5 ] || [ $(cat .github/script/STEP) + = X ]" + timeout: 10 + max-score: 1 + - name: Autograding Reporter + uses: classroom-resources/autograding-grading-reporter@v1 + env: + STEP-1-ADD-HEADERS_RESULTS: "${{steps.step-1-add-headers.outputs.result}}" + STEP-2-ADD-AN-IMAGE_RESULTS: "${{steps.step-2-add-an-image.outputs.result}}" + STEP-3-ADD-A-CODE-EXAMPLE_RESULTS: "${{steps.step-3-add-a-code-example.outputs.result}}" + STEP-4-MAKE-A-TASK-LIST_RESULTS: "${{steps.step-4-make-a-task-list.outputs.result}}" + STEP-5-MERGE-YOUR-PULL-REQUEST_RESULTS: "${{steps.step-5-merge-your-pull-request.outputs.result}}" + with: + runners: step-1-add-headers,step-2-add-an-image,step-3-add-a-code-example,step-4-make-a-task-list,step-5-merge-your-pull-request From 04e0891bee7683779b6a48ecf93324d81f8f13a1 Mon Sep 17 00:00:00 2001 From: github-actions Date: Thu, 26 Sep 2024 05:18:59 +0000 Subject: [PATCH 02/15] Create index.md file --- index.md | 0 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 index.md diff --git a/index.md b/index.md new file mode 100644 index 000000000..e69de29bb From 2c87a6197a7f5843c3e8aa7234ffd7f161f1be65 Mon Sep 17 00:00:00 2001 From: github-actions Date: Thu, 26 Sep 2024 05:19:00 +0000 Subject: [PATCH 03/15] Update to 1 in STEP and README.md --- .github/script/STEP | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/script/STEP b/.github/script/STEP index 573541ac9..d00491fd7 100644 --- a/.github/script/STEP +++ b/.github/script/STEP @@ -1 +1 @@ -0 +1 From 3c561ae8ce4f4502987ae3456e64c186a35e4044 Mon Sep 17 00:00:00 2001 From: github-actions Date: Thu, 26 Sep 2024 05:19:00 +0000 Subject: [PATCH 04/15] Update to 1 in STEP and README.md --- .github/script/STEP | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/script/STEP b/.github/script/STEP index 573541ac9..d00491fd7 100644 --- a/.github/script/STEP +++ b/.github/script/STEP @@ -1 +1 @@ -0 +1 From 144c586da3e846faac99bae923f090b1abd909e8 Mon Sep 17 00:00:00 2001 From: ainz <143231101+tltoan@users.noreply.github.com> Date: Thu, 26 Sep 2024 01:54:57 -0400 Subject: [PATCH 05/15] Create index.md --- index.md | 1 + 1 file changed, 1 insertion(+) create mode 100644 index.md diff --git a/index.md b/index.md new file mode 100644 index 000000000..8b1378917 --- /dev/null +++ b/index.md @@ -0,0 +1 @@ + From 2b5bb6661a02c9b870219f2c18430f7b85db72f2 Mon Sep 17 00:00:00 2001 From: ainz <143231101+tltoan@users.noreply.github.com> Date: Thu, 26 Sep 2024 16:52:32 -0400 Subject: [PATCH 06/15] Update index.md added image of a bear --- index.md | 1 + 1 file changed, 1 insertion(+) diff --git a/index.md b/index.md index e69de29bb..9c940d1a9 100644 --- a/index.md +++ b/index.md @@ -0,0 +1 @@ +![BEAR](https://i.pinimg.com/736x/3f/34/cd/3f34cdba03b01902c464a38df04f6683.jpg) From f07d9d8c470732e01d9e9eae7e82df5ec3c4742e Mon Sep 17 00:00:00 2001 From: ainz <143231101+tltoan@users.noreply.github.com> Date: Thu, 26 Sep 2024 16:53:42 -0400 Subject: [PATCH 07/15] Update index.md added code --- index.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/index.md b/index.md index 9c940d1a9..a4bc3a96c 100644 --- a/index.md +++ b/index.md @@ -1 +1,4 @@ ![BEAR](https://i.pinimg.com/736x/3f/34/cd/3f34cdba03b01902c464a38df04f6683.jpg) + +$ git init +Initialized empty Git repository in /Users/skills/Projects/recipe-repository/.git/ From 959bffcb7000ab1cd2258a3b2f343e1e19b42d50 Mon Sep 17 00:00:00 2001 From: ainz <143231101+tltoan@users.noreply.github.com> Date: Thu, 26 Sep 2024 16:54:00 -0400 Subject: [PATCH 08/15] Update index.md --- index.md | 3 --- 1 file changed, 3 deletions(-) diff --git a/index.md b/index.md index a4bc3a96c..9c940d1a9 100644 --- a/index.md +++ b/index.md @@ -1,4 +1 @@ ![BEAR](https://i.pinimg.com/736x/3f/34/cd/3f34cdba03b01902c464a38df04f6683.jpg) - -$ git init -Initialized empty Git repository in /Users/skills/Projects/recipe-repository/.git/ From dd2bf1a61a54d452de86f3ded7bf9981a17f5695 Mon Sep 17 00:00:00 2001 From: ainz <143231101+tltoan@users.noreply.github.com> Date: Thu, 26 Sep 2024 16:54:21 -0400 Subject: [PATCH 09/15] Update index.md --- index.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/index.md b/index.md index 9c940d1a9..a4bc3a96c 100644 --- a/index.md +++ b/index.md @@ -1 +1,4 @@ ![BEAR](https://i.pinimg.com/736x/3f/34/cd/3f34cdba03b01902c464a38df04f6683.jpg) + +$ git init +Initialized empty Git repository in /Users/skills/Projects/recipe-repository/.git/ From 3cb87794b05d7841f67c7d1f2fab23a176b8877f Mon Sep 17 00:00:00 2001 From: ainz <143231101+tltoan@users.noreply.github.com> Date: Thu, 26 Sep 2024 16:54:39 -0400 Subject: [PATCH 10/15] Update index.md task list --- index.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/index.md b/index.md index a4bc3a96c..6c08dc3e3 100644 --- a/index.md +++ b/index.md @@ -2,3 +2,7 @@ $ git init Initialized empty Git repository in /Users/skills/Projects/recipe-repository/.git/ + +- [x] List syntax is required +- [x] This item is complete +- [ ] This item is not complete From 04efb34828d40571aa86d502dbd7332eec8e7e33 Mon Sep 17 00:00:00 2001 From: ainz <143231101+tltoan@users.noreply.github.com> Date: Thu, 26 Sep 2024 16:55:14 -0400 Subject: [PATCH 11/15] Update index.md activities --- index.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/index.md b/index.md index 6c08dc3e3..2aa0078af 100644 --- a/index.md +++ b/index.md @@ -6,3 +6,7 @@ Initialized empty Git repository in /Users/skills/Projects/recipe-repository/.gi - [x] List syntax is required - [x] This item is complete - [ ] This item is not complete + +- [ ] Turn on GitHub Pages +- [ ] Outline my portfolio +- [ ] Introduce myself to the world From d947f17e72cc7a10a9aadcef589c451309165b42 Mon Sep 17 00:00:00 2001 From: ainz <143231101+tltoan@users.noreply.github.com> Date: Thu, 26 Sep 2024 17:01:07 -0400 Subject: [PATCH 12/15] Update index.md --- index.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/index.md b/index.md index 2aa0078af..ccc9b3822 100644 --- a/index.md +++ b/index.md @@ -1,3 +1,5 @@ +# H1 HEADS + ![BEAR](https://i.pinimg.com/736x/3f/34/cd/3f34cdba03b01902c464a38df04f6683.jpg) $ git init From 2160986a8d35ac602e3bbfc86d1c15ebd78eca2b Mon Sep 17 00:00:00 2001 From: github-actions Date: Thu, 26 Sep 2024 21:01:29 +0000 Subject: [PATCH 13/15] Update to 2 in STEP and README.md --- .github/script/STEP | 2 +- README.md | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/script/STEP b/.github/script/STEP index d00491fd7..0cfbf0888 100644 --- a/.github/script/STEP +++ b/.github/script/STEP @@ -1 +1 @@ -1 +2 diff --git a/README.md b/README.md index 0996c0ae3..0d9b86427 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ _Organize ideas and collaborate using Markdown, a lightweight language for text Encourage users to open new tabs for steps! --> -
+

Step 1: Add headers

_Welcome to "Communicate using Markdown"! :wave:_ @@ -67,7 +67,7 @@ _Welcome to "Communicate using Markdown"! :wave:_ Define terms and link to docs.github.com. --> -
+

Step 2: Add an image

_Great job adding headers to the file :sparkles:_ From 99585bb4fd343bd66034d64d6c812e06fcf7e17f Mon Sep 17 00:00:00 2001 From: github-actions Date: Thu, 26 Sep 2024 21:01:29 +0000 Subject: [PATCH 14/15] Update to 2 in STEP and README.md --- .github/script/STEP | 2 +- README.md | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/script/STEP b/.github/script/STEP index d00491fd7..0cfbf0888 100644 --- a/.github/script/STEP +++ b/.github/script/STEP @@ -1 +1 @@ -1 +2 diff --git a/README.md b/README.md index 0996c0ae3..0d9b86427 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ _Organize ideas and collaborate using Markdown, a lightweight language for text Encourage users to open new tabs for steps! --> -
+

Step 1: Add headers

_Welcome to "Communicate using Markdown"! :wave:_ @@ -67,7 +67,7 @@ _Welcome to "Communicate using Markdown"! :wave:_ Define terms and link to docs.github.com. --> -
+

Step 2: Add an image

_Great job adding headers to the file :sparkles:_ From 4c0650a359a523df45595c45309082ce4a494d64 Mon Sep 17 00:00:00 2001 From: github-actions Date: Thu, 26 Sep 2024 21:03:41 +0000 Subject: [PATCH 15/15] Update to 3 in STEP and README.md --- .github/script/STEP | 2 +- README.md | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/script/STEP b/.github/script/STEP index 0cfbf0888..00750edc0 100644 --- a/.github/script/STEP +++ b/.github/script/STEP @@ -1 +1 @@ -2 +3 diff --git a/README.md b/README.md index 0d9b86427..02625e8b5 100644 --- a/README.md +++ b/README.md @@ -67,7 +67,7 @@ _Welcome to "Communicate using Markdown"! :wave:_ Define terms and link to docs.github.com. --> -
+

Step 2: Add an image

_Great job adding headers to the file :sparkles:_ @@ -100,7 +100,7 @@ Let's add an image. Include descriptive text in the square brackets. This text i Define terms and link to docs.github.com. --> -
+

Step 3: Add a code example

_Great job adding an image to the file :tada:_