From a67439a2c5cad71beac2f897b1c434028eab3058 Mon Sep 17 00:00:00 2001 From: jaskaransarkaria Date: Wed, 25 Sep 2024 14:45:39 +0100 Subject: [PATCH] =?UTF-8?q?fix:=20=F0=9F=90=9B=20pipeline=20should=20be=20?= =?UTF-8?q?able=20to=20commit?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pkg/environment/createPR.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/environment/createPR.go b/pkg/environment/createPR.go index 0681180e..307d7cc9 100644 --- a/pkg/environment/createPR.go +++ b/pkg/environment/createPR.go @@ -38,7 +38,7 @@ func createPR(description, namespace, ghToken, repo string) func(github.GithubIf cmd.Start() //nolint:errcheck cmd.Wait() //nolint:errcheck - commitCmd := exec.Command("/bin/sh", "-c", "git commit -m 'concourse: correcting rds version drift'") + commitCmd := exec.Command("/bin/sh", "-c", "git commit -c user.name='cloud-platform-moj' -c user.email='platforms+githubuser@digital.justice.gov.uk' -m 'concourse: correcting rds version drift'") commitCmd.Dir = "namespaces/live.cloud-platform.service.justice.gov.uk/" + namespace + "/resources" commitCmd.Start() //nolint:errcheck commitCmd.Wait() //nolint:errcheck