Skip to content

Set emoji based on condition? #78

Open
@websocket98765

Description

@websocket98765

Is there a way to include a specific emoji in the title base on success or fail?

I'd like to include a green emoji on success, or a red emoji on failure, for quicker recognition.

- name: Notify Slack on success or failure 
  uses: lazy-actions/slatify@master
  if: always() 
  with:
    url: ${{ secrets.SLACK_WEBHOOK_URL }}
    job_name: 'CI'
    type: ${{ job.status }}
    mention: 'channel'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions