| <- Previous: Troubleshooting |
|---|
Demonstrate a complete beginner GitHub Flow inside your own copy of this template: create a branch, add a file, create a signed commit, push it, and open a pull request that passes automated grading.
- create a feature branch from
main - add one file under
students/ - create a signed commit with the required message
- open a pull request to
main - explain
git add, authentication vs signing, andorigin
Your submission must follow all of these rules:
- the branch must be named
feature/evaluation-[username] - the pull request must target
main - the only changed file must be
students/[username].md - the latest commit message must be
docs: submit final evaluation - the latest commit must be signed
This evaluation happens in your own repository copy created from the template. Do not open the pull request in the academy source repository.
From the root of your own repository copy, run:
git switch -c feature/evaluation-[username]Replace [username] with your GitHub username.
Create students/[username].md and paste this template:
# GitHub Starter Evaluation
GitHub username: [username]
What `git add` does:
- Replace this line with your explanation.
Authentication vs signing:
- Replace this line with your explanation.
What `origin` points to in your copy of this template:
- Replace this line with your explanation.Replace [username] with your GitHub username and write your own answers.
Run:
git add students/[username].md
git commit -m "docs: submit final evaluation"If Git signing is configured correctly, this commit will be signed automatically.
Run:
git push -u origin feature/evaluation-[username]- open your own repository copy on GitHub
- click Compare & pull request
- confirm that the base branch is
main - create the pull request
GitHub Actions will verify:
- the pull request targets
main - the branch name matches
feature/evaluation-[username] - exactly one file was added:
students/[username].md - the file contains the required reflection sections
- the latest commit message is correct
- the latest commit contains a cryptographic signature
Because this repository is a template, the workflow runs inside your copy after GitHub copies the .github and scripts/ files.
After the workflow passes, open the latest commit on GitHub and confirm that it shows Verified.
To read the grader results:
- open your pull request
- look at the status box near the top
- click Checks
- open Final Evaluation Autograding
- read the
PASSorFAILoutput from the workflow log
- GitHub Actions passes on the pull request.
- The latest commit shows
Verifiedon GitHub. - You can explain each answer in your submission file without reading from the docs.
| <- Previous: Troubleshooting |
|---|