From 13486044fb611e11bf828170f71d35452b48ee98 Mon Sep 17 00:00:00 2001 From: ILyas Galiev Date: Wed, 3 Sep 2025 10:44:19 +0300 Subject: [PATCH 1/9] docs: add commit signing summary --- .github/pull_request_template.md | 0 submission1.md | 0 2 files changed, 0 insertions(+), 0 deletions(-) create mode 100644 .github/pull_request_template.md create mode 100644 submission1.md diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md new file mode 100644 index 0000000..e69de29 diff --git a/submission1.md b/submission1.md new file mode 100644 index 0000000..e69de29 From ef5a257cf5e645dbef922a056212f0bbb5830666 Mon Sep 17 00:00:00 2001 From: ILyas Galiev Date: Wed, 3 Sep 2025 12:42:54 +0300 Subject: [PATCH 2/9] docs: add PR template and submission1 --- .github/pull_request_template.md | 17 +++++++++++++++++ submission1.md | 12 ++++++++++++ 2 files changed, 29 insertions(+) diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md index e69de29..6bbdab7 100644 --- a/.github/pull_request_template.md +++ b/.github/pull_request_template.md @@ -0,0 +1,17 @@ +# Pull Request Template + +## Goal +Describe the purpose of this PR and what it aims to achieve. + +## Changes +- Summarize the main changes made in this PR. +- Highlight any new features, fixes, or refactors. + +## Testing +- Explain how these changes were tested. +- Include steps for manual verification or automated tests. + +## Checklist +- [ ] PR has a clear, descriptive title +- [ ] Documentation / README updated if needed +- [ ] No secrets or large temporary files included diff --git a/submission1.md b/submission1.md index e69de29..2cae8d1 100644 --- a/submission1.md +++ b/submission1.md @@ -0,0 +1,12 @@ +# Benefits of Signing Commits + +Signed commits provide cryptographic proof of authorship. This ensures that the commit truly comes from the claimed developer and has not been modified afterward. The main benefits are: + +- **Authenticity**: Verifies that commits were created by a trusted source. +- **Integrity**: Detects if commit history was altered or tampered with. +- **Accountability**: Ties commits directly to an individual’s verified identity. +- **Security in Collaboration**: Protects against malicious actors pushing unverified or fake commits in shared repositories. +- **Compliance**: Some organizations require signed commits for audit and regulatory purposes. + +SSH commit signature verification strengthens security by using secure keys already managed for repository access, reducing reliance on weaker authentication methods. +Also, helpful in deployment: when you work in terminal of server with private repository. From e4cf28be19cd5a5ec1c57e4a769e32bc4f5f06f3 Mon Sep 17 00:00:00 2001 From: ILyas Galiev Date: Wed, 3 Sep 2025 13:59:16 +0300 Subject: [PATCH 3/9] Test signed commit --- .github/pull_request_template.md | 2 +- labs/lab1.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md index 6bbdab7..2268b18 100644 --- a/.github/pull_request_template.md +++ b/.github/pull_request_template.md @@ -1,4 +1,4 @@ -# Pull Request Template +git config user.name# Pull Request Template ## Goal Describe the purpose of this PR and what it aims to achieve. diff --git a/labs/lab1.md b/labs/lab1.md index 1f69d42..4fe3bce 100644 --- a/labs/lab1.md +++ b/labs/lab1.md @@ -1,4 +1,4 @@ -# Lab 1 — Introduction to DevOps & Git Workflow +git config --global gpg.format ssh# Lab 1 — Introduction to DevOps & Git Workflow ![difficulty](https://img.shields.io/badge/difficulty-beginner-success) ![topic](https://img.shields.io/badge/topic-DevOps%20Basics-blue) From d9a8c86d93fdaeda20650f2a82ead3c805876b64 Mon Sep 17 00:00:00 2001 From: ILyas Galiev Date: Wed, 3 Sep 2025 14:09:49 +0300 Subject: [PATCH 4/9] Test signed commit From d5aece4cac8303f67be87448dd8cae23c58f800c Mon Sep 17 00:00:00 2001 From: ILyas Galiev Date: Sun, 7 Sep 2025 10:26:46 +0300 Subject: [PATCH 5/9] fixed pull request template --- .github/pull_request_template.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md index 2268b18..6bbdab7 100644 --- a/.github/pull_request_template.md +++ b/.github/pull_request_template.md @@ -1,4 +1,4 @@ -git config user.name# Pull Request Template +# Pull Request Template ## Goal Describe the purpose of this PR and what it aims to achieve. From d8c5d2d95dcd72fce5ec591f4251f62c5ba1935c Mon Sep 17 00:00:00 2001 From: ILyas Galiev Date: Sun, 7 Sep 2025 10:40:43 +0300 Subject: [PATCH 6/9] chore: test ssh-signed commit From 84c3efd501071e7be7ae8017f317bb0a66a0fe3a Mon Sep 17 00:00:00 2001 From: ILyas Galiev Date: Sun, 7 Sep 2025 10:41:34 +0300 Subject: [PATCH 7/9] debug: force ssh signing From 310782238e071fec1d3a14a44367c6fcbf9f084e Mon Sep 17 00:00:00 2001 From: ILyas Galiev Date: Sun, 7 Sep 2025 10:46:25 +0300 Subject: [PATCH 8/9] docs: add PR template --- .github/pull_request_template.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md index 6bbdab7..decabc0 100644 --- a/.github/pull_request_template.md +++ b/.github/pull_request_template.md @@ -12,6 +12,6 @@ Describe the purpose of this PR and what it aims to achieve. - Include steps for manual verification or automated tests. ## Checklist -- [ ] PR has a clear, descriptive title -- [ ] Documentation / README updated if needed -- [ ] No secrets or large temporary files included +- [x] PR has a clear, descriptive title +- [x] Documentation / README updated if needed +- [x] No secrets or large temporary files included From eac7b14fd32b99f3b2819c7748e6e30e511c1b02 Mon Sep 17 00:00:00 2001 From: ILyas Galiev Date: Sun, 7 Sep 2025 10:49:23 +0300 Subject: [PATCH 9/9] chore: test signed commit