Skip to content

Commit

Permalink
fix: 🐛 pipeline should be able to commit
Browse files Browse the repository at this point in the history
  • Loading branch information
jaskaransarkaria committed Sep 25, 2024
1 parent 01e1450 commit a67439a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/environment/createPR.go
Original file line number Diff line number Diff line change
Expand Up @@ -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='[email protected]' -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
Expand Down

0 comments on commit a67439a

Please sign in to comment.