[PATCH] test: check-security-policies: mark the source tree safe for git

Sascha Hauer s.hauer at pengutronix.de
Thu Sep 24 00:41:14 PDT 2026


On Wed, 23 Sep 2026 09:30:00 +0200, Sascha Hauer wrote:
> The labgrid-pytest job runs the container as root, while the checkout
> belongs to the user of the GitHub runner. git refuses a repository owned
> by someone else, and the final
> 
> 	git diff --exit-code -- '*.sconfig'
> 
> then never compares anything. Instead of failing with the ownership
> error, git diff treats the tree as no repository at all, falls back to
> --no-index and exits 129 with its usage message, which fails the job:
> 
> [...]

Applied, thanks!

[1/1] test: check-security-policies: mark the source tree safe for git
      https://git.pengutronix.de/cgit/barebox/commit/?id=0734b8afb94f (link may not be stable)

Best regards,
-- 
Sascha Hauer <s.hauer at pengutronix.de>




More information about the barebox mailing list