xtao / feishu-action

feishu custom bot action

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

wechat-work-action status

✨ Example Usage

- name: Feishu action
  uses: xtao/feishu-action@master
  with:
    url: ${{ secrets.FEISHU_BOT_WEBHOOK_URL }}
    title: ${{ github.repository }} Action
    run_id: ${{ github.run_id }}
    run_number: ${{ github.run_number }}
    action_url: https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}
    repository: ${{ github.repository }}
    committer: ${{ github.actor }}
    event_name: ${{ github.event_name }}
    job_status: ${{ job.status }}
    compare_url: ${{ github.event.compare }}

🔐 Set your secrets here: https://github.com/USERNAME/REPO/settings/secrets.

Contexts and expression syntax for GitHub Actions, here: https://help.github.com/en/articles/contexts-and-expression-syntax-for-github-actions#github-context

Result

Options

option type description
url string webhook url: https://open.feishu.cn/open-apis/bot/v2/hook/7c5a4a4ba83bxxxxxx
title string message title

How do I use a robot in a group chat? > Lark Markdown

About

feishu custom bot action

License:MIT License


Languages

Language:TypeScript 92.3%Language:JavaScript 7.7%