Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added labs/img/keys.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added labs/img/pr.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added labs/img/pr_template.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added labs/img/pr_template_existence.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added labs/img/verified_commit.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
51 changes: 51 additions & 0 deletions labs/submission1.md
Original file line number Diff line number Diff line change
@@ -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.