Skip to content

[KNI] rewrite the commit-msg hook#418

Open
ffromani wants to merge 5 commits intomasterfrom
rewrite-commit-msg-hook
Open

[KNI] rewrite the commit-msg hook#418
ffromani wants to merge 5 commits intomasterfrom
rewrite-commit-msg-hook

Conversation

@ffromani
Copy link
Copy Markdown
Member

@ffromani ffromani commented Jul 17, 2025

Rewrite the script that verifies the commit message in go, taking into
consideration the project rules described in RESYNC.README.md.

@openshift-ci openshift-ci bot requested review from MarSik and swatisehgal July 17, 2025 06:47
@openshift-ci
Copy link
Copy Markdown

openshift-ci bot commented Jul 17, 2025

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: ffromani

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jul 17, 2025
@ffromani ffromani force-pushed the rewrite-commit-msg-hook branch from 72883e2 to 974c6a7 Compare July 17, 2025 06:47
@shajmakh shajmakh force-pushed the rewrite-commit-msg-hook branch from b10c120 to 4d1195d Compare July 24, 2025 08:32
@shajmakh shajmakh force-pushed the rewrite-commit-msg-hook branch from cac9a5f to 2a0ad33 Compare August 13, 2025 09:06
@shajmakh shajmakh force-pushed the rewrite-commit-msg-hook branch from 2a0ad33 to c3b0643 Compare September 4, 2025 08:06
@shajmakh shajmakh force-pushed the rewrite-commit-msg-hook branch from c3b0643 to 26569f6 Compare September 11, 2025 10:32
@shajmakh shajmakh force-pushed the rewrite-commit-msg-hook branch 5 times, most recently from e993b8d to 42e6117 Compare September 26, 2025 09:35
@shajmakh shajmakh changed the title [KNI] WIP: rewrite the commit-msg hook [KNI] rewrite the commit-msg hook Sep 26, 2025
@shajmakh
Copy link
Copy Markdown
Member

@ffromani this should be ready for review

@shajmakh shajmakh force-pushed the rewrite-commit-msg-hook branch 4 times, most recently from 5ea87c3 to 7dd4bc3 Compare October 23, 2025 10:17
ffromani and others added 5 commits October 23, 2025 13:20
Rewrite the script that verifies the commit message in go, taking into
consideration the project rules described in RESYNC.README.md.

Signed-off-by: Shereen Haj <shajmakh@redhat.com>
Now that we have a tool that verifies a single commit message, enhance
it even more to deal with N commits and do the rest of the
verification logic.
From a real example, it turns out that the Signed-off line is prefixed
with spaces, thus also fix the isKonflux method to deal with this input.

Assisted-by: Cursor v1.2.2
AI-Attribution: AIA HAb Hin R Cursor v1.2.2 v1.0
Signed-off-by: Shereen Haj <shajmakh@redhat.com>
Update to the latest for checkout and go setup.
https://github.com/actions/setup-go/tags
https://github.com/actions/checkout/tags

Signed-off-by: Shereen Haj <shajmakh@redhat.com>
Isolate the commits verification and support running it on all product
branches.

Assisted-by: Cursor v1.2.2
AI-Attribution: AIA Primarily human, Content edits, Human-initiated, Reviewed, cursor v1.2.2 v1.0

Signed-off-by: Shereen Haj <shajmakh@redhat.com>
To ensure nothing gets merged broken.

Signed-off-by: Shereen Haj <shajmakh@redhat.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants