All Projects β†’ lazy-actions β†’ slatify

lazy-actions / slatify

Licence: MIT license
Slack Notification for GitHub Actions πŸ””

Programming Languages

typescript
32286 projects
javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to slatify

pr-reviews-reminder-action
A GitHub Action to send Slack/Teams notification for Pull Request that are waiting for reviewers.
Stars: ✭ 18 (-86.36%)
Mutual labels:  slack, github-actions
simple-slack-notify
Slack notification action that just works
Stars: ✭ 23 (-82.58%)
Mutual labels:  slack, github-actions
enhanced-slack
🌴 PoC Slack enhancer/injector
Stars: ✭ 48 (-63.64%)
Mutual labels:  slack
release-helper
πŸ€– A GitHub Action that help you publish release.
Stars: ✭ 27 (-79.55%)
Mutual labels:  github-actions
kwatchman
Watch for k8s resources changes and trigger chains of handlers
Stars: ✭ 24 (-81.82%)
Mutual labels:  slack
Yasuf
Very simple way of controlling your Python application via Slack
Stars: ✭ 23 (-82.58%)
Mutual labels:  slack
github-sync
This action helps you to sync your PRs with tasks in Teamwork to streamline team collaboration and your development workflows.
Stars: ✭ 52 (-60.61%)
Mutual labels:  github-actions
godot-ci
Docker image to export Godot Engine games. Templates for Gitlab CI and GitHub Actions to deploy to GitLab Pages/GitHub Pages/Itch.io.
Stars: ✭ 316 (+139.39%)
Mutual labels:  github-actions
web-extension-boilerplate
The web extension boilerplate help to set up project quickly using typescript, jest, webpack, githook, prettier and github actions
Stars: ✭ 35 (-73.48%)
Mutual labels:  github-actions
st2chatops
Packaging environment for building StackStorm chatops native packages
Stars: ✭ 26 (-80.3%)
Mutual labels:  slack
emojibot
Emojibot is a Slack bot that announces new custom emoji to a specific channel.
Stars: ✭ 17 (-87.12%)
Mutual labels:  slack
colab-badge-action
GitHub Action that generates "Open In Colab" Badges for you
Stars: ✭ 15 (-88.64%)
Mutual labels:  github-actions
openwhisk-slackapp
A serverless Slack app built with Slack Events API and IBM Cloud Functions
Stars: ✭ 24 (-81.82%)
Mutual labels:  slack
github-actions-runner
No description or website provided.
Stars: ✭ 19 (-85.61%)
Mutual labels:  github-actions
httptest
A simple concurrent HTTP testing tool
Stars: ✭ 42 (-68.18%)
Mutual labels:  github-actions
ssvm-deno-starter
A template project to run Rust functions in Deno through the Second State WebAssembly engine.
Stars: ✭ 50 (-62.12%)
Mutual labels:  github-actions
humhub-oauth
Social OAuths built for the Social Platform HumHub
Stars: ✭ 16 (-87.88%)
Mutual labels:  slack
slack-discord-bridge
Bridges a text channel between Slack and Discord
Stars: ✭ 21 (-84.09%)
Mutual labels:  slack
uestc-temperature
η”΅ε­η§‘ζŠ€ε€§ε­¦ζœ¬η§‘η”Ÿε₯εΊ·ζ‰“ε‘εŠ©ζ‰‹γ€‚
Stars: ✭ 92 (-30.3%)
Mutual labels:  github-actions
vs-shell
GitHub action to set up the Visual Studio shell environment
Stars: ✭ 36 (-72.73%)
Mutual labels:  github-actions

Slatify

Build Test GitHub release (latest by date) GitHub code style: prettier

This is Slack Notification Action.

Announcement

🚨 Transferred repository from homoluctus 🚨

We don't need to rename from homoluctus/slatify to lazy-actions/slatify in .github/workflow/*.yml. You can use as it is, but we recommend renaming it to lazy-actions/slatify.

ToC

Feature

  • Notify the result of GitHub Actions
  • Support three job status (reference: job-context)
    • success
    • failure
    • cancelled
  • Mention
    • Notify message to channel members efficiently
    • You can specify the condition to mention

Inputs

First of all, you need to set GitHub secrets for SLACK_WEBHOOK that is Incoming Webhook URL.
You can customize the following parameters:

with parameter required/optional default description
type required N/A The result of GitHub Actions job
This parameter value must contain the following word:
- success
- failure
- cancelled
We recommend using ${{ job.status }}
job_name required N/A Means slack notification title
url required N/A Slack Incoming Webhooks URL
Please specify this key or SLACK_WEBHOOK environment variable
β€»SLACK_WEBHOOK will be deprecated
mention optional N/A Slack message mention
mention_if optional N/A The condition to mention
This parameter can contain the following word:
- success
- failure
- cancelled
- always
icon_emoji optional Use Slack Incoming Webhook configuration Slack icon
username optional Use Slack Incoming Webhook configuration Slack username
channel optional Use Slack Incoming Webhook configuration Slack channel name
commit optional false If true, slack notification includes the latest commit message and author.
token case by case N/A This token is used to get commit data.
If commit parameter is true, this parameter is required.
${{ secrets.GITHUB_TOKEN }} is recommended.

Please refer to action.yml for more details.

Examples

Basic usage

- name: Slack Notification
  uses: lazy-actions/slatify@master
  if: always()
  with:
    type: ${{ job.status }}
    job_name: '*Test*'
    channel: '#random'
    url: ${{ secrets.SLACK_WEBHOOK }}

Includes the latest commit information

- name: Slack Notification
  uses: lazy-actions/slatify@master
  if: always()
  with:
    type: ${{ job.status }}
    job_name: '*Lint Check*'
    mention: 'here'
    mention_if: 'failure'
    channel: '#random'
    url: ${{ secrets.SLACK_WEBHOOK }}
    commit: true
    token: ${{ secrets.GITHUB_TOKEN }}

Slack UI

Notification Preview


Notification Preview

LICENSE

The MIT License (MIT)

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].