From 4fa4ed3337e34ad4c4c7b21a334023786c2ed52d Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sun, 12 Oct 2025 23:41:25 +0000 Subject: [PATCH 1/4] Initial plan From 4e52696a5e8ee4d2d373ce4d21e6472a3f3ed70c Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sun, 12 Oct 2025 23:46:28 +0000 Subject: [PATCH 2/4] ci: fix PR title validation to enforce strict conventional commits format Co-authored-by: cziter15 <5003708+cziter15@users.noreply.github.com> --- .github/workflows/validate-commits.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/validate-commits.yml b/.github/workflows/validate-commits.yml index 7b0edbe..29679a1 100644 --- a/.github/workflows/validate-commits.yml +++ b/.github/workflows/validate-commits.yml @@ -21,7 +21,9 @@ jobs: # Conventional commits regex pattern # Matches: type[(scope)][!]: description # Where type is one of: feat, fix, docs, style, refactor, perf, test, build, ci, chore, revert - PATTERN='^(feat|fix|docs|style|refactor|perf|test|build|ci|chore|revert)(\(.+\))?!?: .{1,}' + # Scope (optional) can contain: lowercase letters, numbers, hyphens, underscores, forward slashes + # Description must start with a lowercase letter + PATTERN='^(feat|fix|docs|style|refactor|perf|test|build|ci|chore|revert)(\([a-z0-9/_-]+\))?!?: [a-z].+' if [[ ! "$PR_TITLE" =~ $PATTERN ]]; then echo "================================================" From e24daf3a9e88e90957db91768e9274678cabd38a Mon Sep 17 00:00:00 2001 From: Krzysztof Strehlau Date: Mon, 13 Oct 2025 07:27:34 +0200 Subject: [PATCH 3/4] Change pull_request to pull_request_target --- .github/workflows/validate-commits.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/validate-commits.yml b/.github/workflows/validate-commits.yml index 29679a1..14c9e1c 100644 --- a/.github/workflows/validate-commits.yml +++ b/.github/workflows/validate-commits.yml @@ -1,7 +1,7 @@ name: Validate PR Title on: - pull_request: + pull_request_target: types: [opened, edited, synchronize, reopened] jobs: From b5460c520a0a711e652594556535c8f1045d5d12 Mon Sep 17 00:00:00 2001 From: Krzysztof Strehlau Date: Mon, 13 Oct 2025 07:52:44 +0200 Subject: [PATCH 4/4] Update .github/workflows/validate-commits.yml Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- .github/workflows/validate-commits.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/validate-commits.yml b/.github/workflows/validate-commits.yml index 14c9e1c..29679a1 100644 --- a/.github/workflows/validate-commits.yml +++ b/.github/workflows/validate-commits.yml @@ -1,7 +1,7 @@ name: Validate PR Title on: - pull_request_target: + pull_request: types: [opened, edited, synchronize, reopened] jobs: