x-actions / feishu

Github Action for Sending feishu robot messages.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Github Action for Feishu Robot Messages

build-test GoDoc Go Report Card

Github Action for Sending feishu robot messages.

Environment Variables

  • FEISHU_CUSTOMERBOT_WEBHOOK: feishu access token
  • FEISHU_CUSTOMERBOT_SECRET: feishu secret

How to Use

    - name: Sending Feishu Message
      uses: x-actions/feishu@main
      env:
        FEISHU_CUSTOMERBOT_WEBHOOK: ${{ secrets.FEISHU_CUSTOMERBOT_WEBHOOK }}
        FEISHU_CUSTOMERBOT_SECRET: ${{ secrets.FEISHU_CUSTOMERBOT_SECRET }}
        MSGTYPE: interactive
        TITLE: "x-actions feishu message"
        CONTENT: |
          > Build Github Action Done.
          > ^_^

Options

  • release
git tag v0.1.0
git push origin --tags
  • download
curl -Lfs -o feishu https://github.com/x-actions/feishu/releases/latest/download/feishu-{linux|darwin|windows}
chmod +x feishu
./feishu
  • help
Usage of ./feishu:

Docs

About

Github Action for Sending feishu robot messages.

License:Apache License 2.0


Languages

Language:Go 49.0%Language:Makefile 24.9%Language:Dockerfile 17.7%Language:Shell 8.5%