zephyr/scripts/ci
Carles Cufi 9f7b786a35 scripts: compliance: Avoid exception when commit message body is empty
Avoid the following exception in the Identity test when the commit body
is empty:

Traceback (most recent call last):
  File "zephyr/scripts/ci/check_compliance.py", line 2053, in main
    n_fails = _main(args)
              ^^^^^^^^^^^
  File "zephyr/scripts/ci/check_compliance.py", line 1988, in _main
    test.run()
  File "zephyr/scripts/ci/check_compliance.py", line 1459, in run
    auth_name, auth_email, body = git(
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^
ValueError: not enough values to unpack (expected 3, got 2)

This is triggered because ``%b`` represents the body of the commit
message, which can be empty if there's a single line in it, because the
first line is considered the title.

Signed-off-by: Carles Cufi <carles.cufi@nordicsemi.no>
2025-05-15 19:31:47 +02:00
..
coverage Coverage: Update color to font_color in header_format 2025-01-24 08:39:16 +01:00
es_upload ci: elasticsearch: Upload script index map examples 2024-09-26 17:44:01 -04:00
stats ci: pr stats: deal with trivial+hotfix PRs 2024-02-02 05:54:04 -05:00
check_compliance.py scripts: compliance: Avoid exception when commit message body is empty 2025-05-15 19:31:47 +02:00
errno.py
guideline_check.py scripts: ci: guideline_check: mitigate excessive false positives 2024-08-19 09:51:34 -04:00
Kconfig.board.v2 scripts: ci: check_compliance: add BOARD_REVISION in Kconfig.board.v2 2024-10-07 18:42:14 +02:00
pylintrc ci: compliance: remove dropped pylint rules 2024-09-26 13:30:12 -05:00
tags.yaml scripts: ci: tags: Add zephyr-keep-sorted check 2024-11-26 14:43:47 +00:00
test_plan.py ci: testsplan: skip module handling with no west changes 2024-11-27 10:59:11 -05:00
twister_ignore.txt ci: add empty CODEOWNERS file 2025-03-27 09:50:45 +01:00
twister_report_analyzer.py ci: twister: Group CMake and Build failures in Twister analysis 2025-02-13 16:42:23 +01:00
upload_test_results_es.py ci: elasticsearch: Upload script improvements 2024-09-09 15:24:26 +03:00
version_mgr.py