diff --git a/action.yml b/action.yml index 251657e..3fe44f9 100644 --- a/action.yml +++ b/action.yml @@ -58,14 +58,14 @@ runs: - name: Send message run: | STATUS = ${{ inputs.status }} - if [[ STATUS == "success" ]]; then + if [[ "$STATUS" == "success" ]]; then STATUS="✅" - elif [[ STATUS == "failure" ]]; then + elif [[ "$STATUS" == "failure" ]]; then STATUS="❌" - elif [[ STATUS == "cancelled" ]]; then + elif [[ "$STATUS" == "cancelled" ]]; then STATUS="⚠️" fi - if [[ STATUS != '' ]]; then + if [[ "$STATUS" != '' ]]; then STATUS="$STATUS " fi CAPTION="$STATUS${{ inputs.caption }}"