Skip to content

maximus-1024/lark-notify-action

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Repository files navigation

Lark(feishu) Notify - Github Action

Project Status: Active – The project has reached a stable, usable state and is being actively developed.

Screenshot action-slack-notify-rtcamp

Usage

You can see the action block with all variables as below:

- name: Lark Notification
  uses: maximus-1024/lark-notify-action
  with:
    hookToken: ${{ secrets.LARK_HOOK }}
    status: ${{ job.status }}

Inputs

Variable Default Purpose
hookToken "" (必填) 创建自定义机器人时候的webhook,例如:4ac55366-c9d3-4538-a549-8078f0c64d02a
secret "" 创建自定义机器人时候的webhook的密钥
status success job的运行状态
platform lark 机器人的运行平台,lark,feishu,默认为lark
title 项目部署通知 消息通知的标题
titleColor green 卡片消息通知的颜色,不过不传值会根据status的状态来判断status为success为绿色,其它状态为红色
message ${context.payload.head_commit.message} 卡片消息的通知内容
buttonLink ${context.payload.head_commit.url} 卡片消息的跳转链接

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Generated from actions/javascript-action