Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set emoji based on condition? #78

Open
websocket98765 opened this issue Jan 24, 2021 · 0 comments
Open

Set emoji based on condition? #78

websocket98765 opened this issue Jan 24, 2021 · 0 comments

Comments

@websocket98765
Copy link

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'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant