Skip to content
Commit f76944b9 authored by Wei-Chia Su's avatar Wei-Chia Su
Browse files

ci: fix line breaks in check scripts and sanitize commit hash



- Updated .gitlab/templates/linting.yml to use YAML block scalars (|-)
  for all check scripts to avoid introducing leading spaces on line breaks.
- Added commit_hash.strip() in check_style.py and check_copyright.py
  to prevent accidental whitespace in Git arguments.

Signed-off-by: default avatarWei-Chia Su <Wei-Chia.Su@arm.com>
parent 79ca2ebe
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment