diff --git a/labs/img/keys.png b/labs/img/keys.png new file mode 100644 index 00000000..680927b6 Binary files /dev/null and b/labs/img/keys.png differ diff --git a/labs/img/pr.png b/labs/img/pr.png new file mode 100644 index 00000000..a9f7189c Binary files /dev/null and b/labs/img/pr.png differ diff --git a/labs/img/pr_template.png b/labs/img/pr_template.png new file mode 100644 index 00000000..9d713343 Binary files /dev/null and b/labs/img/pr_template.png differ diff --git a/labs/img/pr_template_existence.png b/labs/img/pr_template_existence.png new file mode 100644 index 00000000..ece74bc5 Binary files /dev/null and b/labs/img/pr_template_existence.png differ diff --git a/labs/img/verified_commit.png b/labs/img/verified_commit.png new file mode 100644 index 00000000..307c3d9f Binary files /dev/null and b/labs/img/verified_commit.png differ diff --git a/labs/submission1.md b/labs/submission1.md new file mode 100644 index 00000000..043b91fe --- /dev/null +++ b/labs/submission1.md @@ -0,0 +1,51 @@ +# Lab 1 Submission + +## Task 1 + +### Importance of Signed Commits + +Commit signing is important as without it anyone can pretend to be another human by setting a name and email and create fake commits from another person. + +Commit signing prevents this by requiring private key to prove real authorship. If no private key isn't provided GitHub will mark it as Unverified. + +### Evidence of successful SSH key setup and signed commit + +![SSH Signing Keys](img/keys.png) + +The screenshot shows SSH key added to GitHub for authorization and signing. + +![GitHub Verified Commit Badge](img/verified_commit.png) + +The screenshot shows that commit is marked as **Verified** on GitHub. + +### Why is commit signing important in DevOps workflows? +- Ensures commits come from trusted developers via digital signatures; +- Tracks exactly who made code changes, aiding audits and debugging in CI/CD pipelines; +- Protects the software supply chain by blocking unsigned commits, reducing risks of malicious code. + +## Task 2 + +### PR Template + +![GitHub PR Existence](img/pr_template_existence.png) + +This screenshot shows that PR template exists in main branch of fork repository. + +![GitHub PR Template](img/pr_template.png) + +The screenshot shows that added PR template is used to auto-fill description. + +![GitHub PR](img/pr.png) + +This screenshot shows created PR with filled sections. + +### Why PR Template is beneficial + +Using PR templates improves collaboration because: +- PRs follow a consistent structure, making reviewing process easier; +- Remind developers to check changes against repository style and testing policies; +- Provide ready-to-use sections to save time (no need to manually type them every time). + +### Challenges Encountered + +No challenges were encountered during PR template setup process. \ No newline at end of file