From 115a65174e0f02a18b9d8d373e4a09c8e4a922ef Mon Sep 17 00:00:00 2001 From: Chris Hammer Date: Wed, 4 May 2022 01:14:45 -0400 Subject: [PATCH] fix commit msg for failures --- gitlab-job-status-failure.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gitlab-job-status-failure.yml b/gitlab-job-status-failure.yml index 29e0cfb..bc6b99f 100644 --- a/gitlab-job-status-failure.yml +++ b/gitlab-job-status-failure.yml @@ -52,7 +52,7 @@ body: id : "{{ gitlab_proj_id }}" branch : "{{ git_commit_branch }}" - commit_message : "Job {{ lookup('env', 'JOB_ID') | default('N/A', true) }} - {{ inventory_hostname }}; SUCCESS" + commit_message : "Job {{ lookup('env', 'JOB_ID') | default('N/A', true) }} - {{ inventory_hostname }}; FAILURE" author_name : "{{ git_commit_author }}" author_email : "{{ git_commit_email }}" actions: