Skip to content

Conversation

@cevich
Copy link
Member

@cevich cevich commented Dec 10, 2025

What type of PR is this?

/kind other

What this PR does / why we need it:

Fix commit title-length checking workflow bug

How to verify it

The workflow will fail on this PR when the very long 'DO NOT MERGE:...' commit is included. But the workflow will pass when that commit is removed.

Which issue(s) this PR fixes:

None

Special notes for your reviewer:

Does this PR introduce a user-facing change?

None

Frequently when run against non-main branches, commits have been
backported with a `[<branch name>]` prefix in their title(s).  This can
easily cause them to run over the title-length checker action.  Fix this
by restricting it to only running on pull requests targeted at the
`main` branch.

Signed-off-by: Chris Evich <cevich@redhat.com>
Signed-off-by: Chris Evich <cevich@redhat.com>
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Dec 10, 2025

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: cevich
Once this PR has been reviewed and has the lgtm label, please assign luap99 for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found 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

@cevich cevich marked this pull request as draft December 10, 2025 15:25
@cevich
Copy link
Member Author

cevich commented Dec 10, 2025

Ref: Workflow log with the too-long "DO NOT MERGE: ..." commit 26a4c1c.

@cevich cevich force-pushed the fix_commit_validation_workflow branch from 26a4c1c to 614666c Compare December 10, 2025 15:27
@packit-as-a-service
Copy link

Ephemeral COPR build failed. @containers/packit-build please check.

@cevich
Copy link
Member Author

cevich commented Dec 10, 2025

Ref: Workflow log without the too-long "DO NOT MERGE: ..."

@cevich cevich marked this pull request as ready for review December 10, 2025 15:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant