From 39a31951256c975895f89b26b716e234d343e5c7 Mon Sep 17 00:00:00 2001 From: Nikita Shiianov Date: Fri, 6 Feb 2026 07:12:47 +0300 Subject: [PATCH 1/5] docs: add commit signing summary --- labs/submission1.md | 0 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 labs/submission1.md diff --git a/labs/submission1.md b/labs/submission1.md new file mode 100644 index 000000000..e69de29bb From e8334a9490e67c784d07c34e56e2e89c66fa6b85 Mon Sep 17 00:00:00 2001 From: Nikita Shiianov Date: Fri, 6 Feb 2026 07:50:53 +0300 Subject: [PATCH 2/5] docs: add commit signing summary --- labs/submission1.md | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/labs/submission1.md b/labs/submission1.md index e69de29bb..bddbbfedf 100644 --- a/labs/submission1.md +++ b/labs/submission1.md @@ -0,0 +1,21 @@ +# Lab 1 — Commit Signing and PR Template + +## Task 1: SSH Commit Signature Verification + +### 1. Benefits of Signing Commits + +Signing commits helps to prove that I made this commit. It protects my code from someone else trying to pretend to be me. Teams and companies can trust who wrote every piece of code. + +--- + +### 2. Evidence of SSH Key Setup and Signed Commit + +My SSH key is added to GitHub as a Signing Key. I also set up git to sign every commit with SSH. + +Here is my git config output: + +``` +commit.gpgSign=true +gpg.format=ssh +user.signingkey=/Users/shiyanovn/.ssh/id_ed25519.pub +``` \ No newline at end of file From d3059b65be7140413647905435e988f4705540a0 Mon Sep 17 00:00:00 2001 From: Nikita Shiianov Date: Fri, 6 Feb 2026 07:57:52 +0300 Subject: [PATCH 3/5] docs: add commit signing summary --- labs/submission1.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/labs/submission1.md b/labs/submission1.md index bddbbfedf..b7feb771d 100644 --- a/labs/submission1.md +++ b/labs/submission1.md @@ -18,4 +18,10 @@ Here is my git config output: commit.gpgSign=true gpg.format=ssh user.signingkey=/Users/shiyanovn/.ssh/id_ed25519.pub -``` \ No newline at end of file +``` + +--- + +### 3. Why is Commit Signing Important in DevOps Workflows? + +In DevOps, many people work on the same code. Signed commits help us know exactly who made each change. It stops attackers or mistakes from unknown people, and is required for security in many companies. From 5404b6d354eac365b13077a31312866e64f2204e Mon Sep 17 00:00:00 2001 From: Nikita Shiianov Date: Fri, 6 Feb 2026 08:28:19 +0300 Subject: [PATCH 4/5] chore: add PR template --- .github/pull_request_template.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .github/pull_request_template.md diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md new file mode 100644 index 000000000..d5a6a311c --- /dev/null +++ b/.github/pull_request_template.md @@ -0,0 +1,17 @@ +## Goal +Set up SSH commit signing and add a PR template for Lab 1. + +## Changes +- Configured SSH commit signing in git. +- Added minimal pull request template at `.github/pull_request_template.md`. +- Created `labs/submission1.md` with answers and screenshots. + +## Testing +- Created a signed commit, checked that it is marked "Verified" on GitHub. +- Opened a new pull request and confirmed that the template appears automatically. + +## Checklist +- [x] Clear, descriptive PR title +- [x] Documentation/README updated if needed +- [x] No secrets or large temporary files committed + From ca6b34a71941770ce19ef1b573b194304d8b00ff Mon Sep 17 00:00:00 2001 From: Nikita Shiianov Date: Fri, 20 Feb 2026 21:25:19 +0300 Subject: [PATCH 5/5] ci: add workflow to main for manual dispatch --- .github/workflows/lab3.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/lab3.yml diff --git a/.github/workflows/lab3.yml b/.github/workflows/lab3.yml new file mode 100644 index 000000000..268cbcbbb --- /dev/null +++ b/.github/workflows/lab3.yml @@ -0,0 +1,27 @@ +name: Lab 3 CI + +on: + push: + branches: [ feature/lab3 ] + workflow_dispatch: + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + + - name: Hello World + run: echo "Hello, GitHub Actions!" + + - name: System Information + run: | + echo "OS Info:" + uname -a + cat /etc/os-release + echo "CPU Info:" + lscpu + echo "Memory Info:" + free -h + echo "Disk Info:" + df -h