Skip to content

ci: enable commit-msg qcom-preflight-check - #519

Draft
Christopher Obbard (obbardc) wants to merge 3 commits into
qualcomm-linux:mainfrom
obbardc:wip/obbardc/enable-reusable-action-commit-check
Draft

ci: enable commit-msg qcom-preflight-check#519
Christopher Obbard (obbardc) wants to merge 3 commits into
qualcomm-linux:mainfrom
obbardc:wip/obbardc/enable-reusable-action-commit-check

Conversation

@obbardc

@obbardc Christopher Obbard (obbardc) commented Jul 31, 2026

Copy link
Copy Markdown
Contributor

Turn on the previously disabled commit-msg check in the Qualcomm preflight check workflow; as discussed in #436 (comment)

@obbardc

Christopher Obbard (obbardc) commented Jul 31, 2026

Copy link
Copy Markdown
Contributor Author

Created this PR just to see what the fallout could be by enabling the existing disabled jobs.

Seems to work fine for this PR.

Comment thread .github/workflows/qcom-preflight-checks.yml
Comment thread .github/workflows/qcom-preflight-checks.yml
Comment thread .github/workflows/qcom-preflight-checks.yml Outdated
@obbardc Christopher Obbard (obbardc) changed the title ci: enable commit-msg and armor qcom-preflight-checks ci: enable commit-msg qcom-preflight-check Jul 31, 2026
@obbardc
Christopher Obbard (obbardc) force-pushed the wip/obbardc/enable-reusable-action-commit-check branch 2 times, most recently from 60c4d2e to 7fbe33b Compare July 31, 2026 22:13
@obbardc

Copy link
Copy Markdown
Contributor Author

It'd be interesting to see how compatible the outstanding PRs are with the commit check enabled...

@obbardc
Christopher Obbard (obbardc) marked this pull request as ready for review July 31, 2026 22:18
@lool

Copy link
Copy Markdown
Contributor

The commit message checker seems to hate the Assisted-by lines next to SoB :/

I guess we should send a patch for that there, but first chase some canonical reference for these somewhere

@obbardc

Copy link
Copy Markdown
Contributor Author

The commit message checker seems to hate the Assisted-by lines next to SoB :/

I guess we should send a patch for that there, but first chase some canonical reference for these somewhere

thanks; that was the point of this PR; to see what may fail! :-).

For me it seemed to hate any tag (e.g. not just Assisted-by) above to SoB without a new-line?

Also, unrelated to this PR, I guess we need to document&lint the AI policy (e.g. Assisted-by) for all OSS repos ?

@github-actions

Copy link
Copy Markdown

@github-actions

github-actions Bot commented Jul 31, 2026

Copy link
Copy Markdown

Test Results

 2 files  ±0   6 suites  ±0   3m 50s ⏱️ ±0s
21 tests ±0  21 ✅ ±0  0 💤 ±0  0 ❌ ±0 
52 runs  ±0  52 ✅ ±0  0 💤 ±0  0 ❌ ±0 

Results for commit c1f78b2. ± Comparison against base commit 1ca44ac.

♻️ This comment has been updated with latest results.

@github-actions

Copy link
Copy Markdown

Comment thread .github/workflows/qcom-preflight-checks.yml
@lool

Copy link
Copy Markdown
Contributor

For me it seemed to hate any tag (e.g. not just Assisted-by) above to SoB without a new-line?

Yup (Assisted-by is just one we use commonly)

Also, unrelated to this PR, I guess we need to document&lint the AI policy (e.g. Assisted-by) for all OSS repos ?

There is an internal one for employees with some room for variations in our various OSS repositories.

@obbardc
Christopher Obbard (obbardc) force-pushed the wip/obbardc/enable-reusable-action-commit-check branch from 7fbe33b to ab48eff Compare August 1, 2026 20:29
@github-actions

github-actions Bot commented Aug 1, 2026

Copy link
Copy Markdown

@obbardc

Copy link
Copy Markdown
Contributor Author

For me it seemed to hate any tag (e.g. not just Assisted-by) above to SoB without a new-line?

Yup (Assisted-by is just one we use commonly)

I will report this to https://github.com/qualcomm/qcom-reusable-workflows

armor-checkers verifies source-level (API) and binary-level (ABI)
backwards compatibility of source code. This repository holds image
recipes and scripts rather than a library exposing a stable API/ABI,
so the check has nothing meaningful to compare and is not suitable
to enable.

Document why the check is disabled as a comment where it is disabled.

Signed-off-by: Christopher Obbard <chris.obbard@oss.qualcomm.com>
Enable the previously disabled `commit-msg` check in the
`qcom-preflight-checks` workflow. The check enforces that each
commit in a pull request has both a subject and a body, that neither
exceeds 72 characters per line and that blank lines separate the
subject, body and the Signed-off-by trailer.

This is the commit style CONTRIBUTING.md already asks contributors to
follow so letting CI enforce it saves reviewers from repeating the
same feedback by hand on every pull request.

Signed-off-by: Christopher Obbard <chris.obbard@oss.qualcomm.com>
The `commit-msg` check enabled in the `qcom-preflight-checks` workflow
already enforces that no line of a commit message should exceed 72
characters, so checking the same thing here only means a contributor
gets told about the same problem twice.

Drop the commit message length check from `lint-on-pr` workflow;
including checking commit subjects. The length check is kept for the
pull request title as that is not part of any commit message, thus not
covered by the preflight check.

The conventional commit form of the subject is still checked for both
the title and the commits as the preflight check does not check that
yet.

Signed-off-by: Christopher Obbard <chris.obbard@oss.qualcomm.com>
@obbardc
Christopher Obbard (obbardc) force-pushed the wip/obbardc/enable-reusable-action-commit-check branch from ab48eff to c1f78b2 Compare August 4, 2026 21:47
@github-actions

github-actions Bot commented Aug 4, 2026

Copy link
Copy Markdown

@lool

Copy link
Copy Markdown
Contributor

Christopher Obbard (@obbardc) let's perhaps move this to Draft until we can fix the original reusable workflow?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants