From 7c59127617f0d3bf0ebf3bdca54364023c6f52a0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A5rten=20Svantesson?= Date: Sat, 6 Jan 2024 14:07:05 +0100 Subject: [PATCH] fix: protect ~/.git-credentials from tests --- .lighthouse/jenkins-x/pullrequest.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.lighthouse/jenkins-x/pullrequest.yaml b/.lighthouse/jenkins-x/pullrequest.yaml index aa9c6454e..ea9474b36 100755 --- a/.lighthouse/jenkins-x/pullrequest.yaml +++ b/.lighthouse/jenkins-x/pullrequest.yaml @@ -29,7 +29,7 @@ spec: image: ghcr.io/distroless/busybox script: | #!/bin/sh - chmod u-w /tekton/home/.git-credentials + chattr +i /tekton/home/.git-credentials - name: build-make-test resources: {} - name: test-credentials2