From 92100bfa75a3f80632297d642f179f6ff1ec3425 Mon Sep 17 00:00:00 2001 From: Mehdi ABAAKOUK Date: Thu, 25 Apr 2024 14:56:01 +0200 Subject: [PATCH] feat: allow to set an extra message Change-Id: I7499bc98c492d3dccad62c1682f3080121bb1c2b --- action.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/action.yml b/action.yml index 0c5ef91..bf6f9d2 100644 --- a/action.yml +++ b/action.yml @@ -11,6 +11,9 @@ inputs: message: description: message to post on Slack default: "" + extra_message: + description: message to append to autogenerate message + default: "" job_url: description: deprecated not used anymore default: "" @@ -59,6 +62,7 @@ runs: JOB_STATUS: ${{ job.status }} REF_NAME: ${{ github.ref_name }} OVERRIDE_JOB_STATUS: ${{ inputs.OVERRIDE_JOB_STATUS }} + EXTRA_MESSAGE: ${{ inputs.extra_message }} run: | if [ "${OVERRIDE_JOB_STATUS}" ]; then JOB_STATUS="${OVERRIDE_JOB_STATUS}" @@ -90,6 +94,7 @@ runs: SLACK_TEXT_MESSAGE=$(cat <